Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Side by Side Diff: components/policy/core/common/policy_bundle.h

Issue 1543423002: Switch to standard integer types in components/policy/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_BUNDLE_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_POLICY_BUNDLE_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_BUNDLE_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_POLICY_BUNDLE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/macros.h"
12 #include "components/policy/core/common/policy_map.h" 12 #include "components/policy/core/common/policy_map.h"
13 #include "components/policy/core/common/policy_namespace.h" 13 #include "components/policy/core/common/policy_namespace.h"
14 #include "components/policy/policy_export.h" 14 #include "components/policy/policy_export.h"
15 15
16 namespace policy { 16 namespace policy {
17 17
18 // Maps policy namespaces to PolicyMaps. 18 // Maps policy namespaces to PolicyMaps.
19 class POLICY_EXPORT PolicyBundle { 19 class POLICY_EXPORT PolicyBundle {
20 public: 20 public:
21 typedef std::map<PolicyNamespace, PolicyMap*> MapType; 21 typedef std::map<PolicyNamespace, PolicyMap*> MapType;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // An empty PolicyMap that is returned by const Get() for namespaces that 64 // An empty PolicyMap that is returned by const Get() for namespaces that
65 // do not exist in |policy_bundle_|. 65 // do not exist in |policy_bundle_|.
66 const PolicyMap kEmpty_; 66 const PolicyMap kEmpty_;
67 67
68 DISALLOW_COPY_AND_ASSIGN(PolicyBundle); 68 DISALLOW_COPY_AND_ASSIGN(PolicyBundle);
69 }; 69 };
70 70
71 } // namespace policy 71 } // namespace policy
72 72
73 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_BUNDLE_H_ 73 #endif // COMPONENTS_POLICY_CORE_COMMON_POLICY_BUNDLE_H_
OLDNEW
« no previous file with comments | « components/policy/core/common/mock_configuration_policy_provider.h ('k') | components/policy/core/common/policy_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698