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

Side by Side Diff: components/policy/core/common/schema.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_SCHEMA_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_SCHEMA_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_SCHEMA_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_SCHEMA_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
13 #include "base/values.h" 12 #include "base/values.h"
14 #include "components/policy/policy_export.h" 13 #include "components/policy/policy_export.h"
15 14
16 namespace policy { 15 namespace policy {
17 namespace internal { 16 namespace internal {
18 17
19 struct POLICY_EXPORT SchemaData; 18 struct POLICY_EXPORT SchemaData;
20 struct POLICY_EXPORT SchemaNode; 19 struct POLICY_EXPORT SchemaNode;
21 struct POLICY_EXPORT PropertyNode; 20 struct POLICY_EXPORT PropertyNode;
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 bool ValidateIntegerRestriction(int index, int value) const; 185 bool ValidateIntegerRestriction(int index, int value) const;
187 bool ValidateStringRestriction(int index, const char* str) const; 186 bool ValidateStringRestriction(int index, const char* str) const;
188 187
189 scoped_refptr<const InternalStorage> storage_; 188 scoped_refptr<const InternalStorage> storage_;
190 const internal::SchemaNode* node_; 189 const internal::SchemaNode* node_;
191 }; 190 };
192 191
193 } // namespace policy 192 } // namespace policy
194 193
195 #endif // COMPONENTS_POLICY_CORE_COMMON_SCHEMA_H_ 194 #endif // COMPONENTS_POLICY_CORE_COMMON_SCHEMA_H_
OLDNEW
« no previous file with comments | « components/policy/core/common/remote_commands/test_remote_command_job.cc ('k') | components/policy/core/common/schema.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698