Index: chrome/browser/policy/policy_manifest_handler.h |
diff --git a/chrome/browser/policy/policy_manifest_handler.h b/chrome/browser/policy/policy_manifest_handler.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c3f733b2c6b9627dae9a7c891b8086fd826d727a |
--- /dev/null |
+++ b/chrome/browser/policy/policy_manifest_handler.h |
@@ -0,0 +1,32 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_POLICY_POLICY_MANIFEST_HANDLER_H_ |
+#define CHROME_BROWSER_POLICY_POLICY_MANIFEST_HANDLER_H_ |
+ |
+#include "chrome/common/extensions/manifest_handler.h" |
+ |
+namespace policy { |
+ |
+class PolicyManifestHandler : public extensions::ManifestHandler { |
Mattias Nissler (ping if slow)
2013/05/15 10:37:39
So chrome/browser/policy depends on chrome/browser
not at google - send to devlin
2013/05/16 16:34:15
Looks like this only depends on chrome/common/exte
Mattias Nissler (ping if slow)
2013/05/16 18:27:54
Fair, I was merely talking about dependencies betw
Yoyo Zhou
2013/05/16 19:14:16
Yes, it's better to have policy extension API stuf
Joao da Silva
2013/05/19 13:21:35
Moved to chrome/browser/extensions/api/storage/sto
|
+ public: |
+ PolicyManifestHandler(); |
+ virtual ~PolicyManifestHandler(); |
+ |
+ // ManifestHandler implementation: |
+ virtual bool Parse(extensions::Extension* extension, |
+ string16* error) OVERRIDE; |
+ virtual bool Validate( |
+ const extensions::Extension* extension, |
+ std::string* error, |
+ std::vector<extensions::InstallWarning>* warnings) const OVERRIDE; |
+ virtual const std::vector<std::string> Keys() const OVERRIDE; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(PolicyManifestHandler); |
Mattias Nissler (ping if slow)
2013/05/15 10:37:39
#include "base/basictypes.h"
Joao da Silva
2013/05/19 13:21:35
Done.
|
+}; |
+ |
+} // namespace policy |
+ |
+#endif // CHROME_BROWSER_POLICY_POLICY_MANIFEST_HANDLER_H_ |