Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_POLICY_POLICY_MANIFEST_HANDLER_H_ | |
| 6 #define CHROME_BROWSER_POLICY_POLICY_MANIFEST_HANDLER_H_ | |
| 7 | |
| 8 #include "chrome/common/extensions/manifest_handler.h" | |
| 9 | |
| 10 namespace policy { | |
| 11 | |
| 12 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
| |
| 13 public: | |
| 14 PolicyManifestHandler(); | |
| 15 virtual ~PolicyManifestHandler(); | |
| 16 | |
| 17 // ManifestHandler implementation: | |
| 18 virtual bool Parse(extensions::Extension* extension, | |
| 19 string16* error) OVERRIDE; | |
| 20 virtual bool Validate( | |
| 21 const extensions::Extension* extension, | |
| 22 std::string* error, | |
| 23 std::vector<extensions::InstallWarning>* warnings) const OVERRIDE; | |
| 24 virtual const std::vector<std::string> Keys() const OVERRIDE; | |
| 25 | |
| 26 private: | |
| 27 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.
| |
| 28 }; | |
| 29 | |
| 30 } // namespace policy | |
| 31 | |
| 32 #endif // CHROME_BROWSER_POLICY_POLICY_MANIFEST_HANDLER_H_ | |
| OLD | NEW |