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

Side by Side Diff: components/policy/core/browser/policy_error_map.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, 11 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_BROWSER_POLICY_ERROR_MAP_H_ 5 #ifndef COMPONENTS_POLICY_CORE_BROWSER_POLICY_ERROR_MAP_H_
6 #define COMPONENTS_POLICY_CORE_BROWSER_POLICY_ERROR_MAP_H_ 6 #define COMPONENTS_POLICY_CORE_BROWSER_POLICY_ERROR_MAP_H_
7 7
8 #include <stddef.h>
9
8 #include <map> 10 #include <map>
9 #include <string> 11 #include <string>
10 #include <vector> 12 #include <vector>
11 13
12 #include "base/basictypes.h" 14 #include "base/macros.h"
13 #include "base/memory/scoped_vector.h" 15 #include "base/memory/scoped_vector.h"
14 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
15 #include "components/policy/policy_export.h" 17 #include "components/policy/policy_export.h"
16 18
17 namespace policy { 19 namespace policy {
18 20
19 // Collects error messages and their associated policies. 21 // Collects error messages and their associated policies.
20 class POLICY_EXPORT PolicyErrorMap { 22 class POLICY_EXPORT PolicyErrorMap {
21 public: 23 public:
22 typedef std::multimap<std::string, base::string16> PolicyMapType; 24 typedef std::multimap<std::string, base::string16> PolicyMapType;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 103
102 ScopedVector<PendingError> pending_; 104 ScopedVector<PendingError> pending_;
103 PolicyMapType map_; 105 PolicyMapType map_;
104 106
105 DISALLOW_COPY_AND_ASSIGN(PolicyErrorMap); 107 DISALLOW_COPY_AND_ASSIGN(PolicyErrorMap);
106 }; 108 };
107 109
108 } // namespace policy 110 } // namespace policy
109 111
110 #endif // COMPONENTS_POLICY_CORE_BROWSER_POLICY_ERROR_MAP_H_ 112 #endif // COMPONENTS_POLICY_CORE_BROWSER_POLICY_ERROR_MAP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698