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

Side by Side Diff: chrome/browser/policy/policy_loader_win.h

Issue 10696034: Share JSON schema constants. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_POLICY_POLICY_LOADER_WIN_H_ 5 #ifndef CHROME_BROWSER_POLICY_POLICY_LOADER_WIN_H_
6 #define CHROME_BROWSER_POLICY_POLICY_LOADER_WIN_H_ 6 #define CHROME_BROWSER_POLICY_POLICY_LOADER_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/synchronization/waitable_event.h" 9 #include "base/synchronization/waitable_event.h"
10 #include "base/win/object_watcher.h" 10 #include "base/win/object_watcher.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 extern const wchar_t kThirdParty[]; 58 extern const wchar_t kThirdParty[];
59 // Registry key within an extension's namespace that contains mandatory 59 // Registry key within an extension's namespace that contains mandatory
60 // policy. 60 // policy.
61 extern const wchar_t kMandatory[]; 61 extern const wchar_t kMandatory[];
62 // Registry key within an extension's namespace that contains recommended 62 // Registry key within an extension's namespace that contains recommended
63 // policy. 63 // policy.
64 extern const wchar_t kRecommended[]; 64 extern const wchar_t kRecommended[];
65 // Registry key within an extension's namespace that contains the policy 65 // Registry key within an extension's namespace that contains the policy
66 // schema. 66 // schema.
67 extern const wchar_t kSchema[]; 67 extern const wchar_t kSchema[];
68 // Key in a JSON schema that indicates the expected type.
69 extern const char kType[];
70 // Key in a JSON schema that indicates the expected properties of an object.
71 extern const char kProperties[];
72 // Key in a JSON schema that indicates the default schema for object
73 // properties.
74 extern const char kAdditionalProperties[];
75 // Key in a JSON schema that indicates the expected type of list items.
76 extern const char kItems[];
77 } // namespace registry_constants 68 } // namespace registry_constants
78 69
79 } // namespace policy 70 } // namespace policy
80 71
81 #endif // CHROME_BROWSER_POLICY_POLICY_LOADER_WIN_H_ 72 #endif // CHROME_BROWSER_POLICY_POLICY_LOADER_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/policy_loader_win.cc » ('j') | chrome/browser/policy/policy_loader_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698