OLD | NEW |
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 CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_SETTINGS_OVERRIDES_HANDLER_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_SETTINGS_OVERRIDES_HANDLER_H_ |
6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_SETTINGS_OVERRIDES_HANDLER_H_ | 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_SETTINGS_OVERRIDES_HANDLER_H_ |
7 | 7 |
8 #include "chrome/common/extensions/api/manifest_types.h" | 8 #include "chrome/common/extensions/api/manifest_types.h" |
9 #include "extensions/common/extension.h" | 9 #include "extensions/common/extension.h" |
10 #include "extensions/common/manifest_handler.h" | 10 #include "extensions/common/manifest_handler.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 private: | 28 private: |
29 DISALLOW_COPY_AND_ASSIGN(SettingsOverrides); | 29 DISALLOW_COPY_AND_ASSIGN(SettingsOverrides); |
30 }; | 30 }; |
31 | 31 |
32 class SettingsOverridesHandler : public ManifestHandler { | 32 class SettingsOverridesHandler : public ManifestHandler { |
33 public: | 33 public: |
34 SettingsOverridesHandler(); | 34 SettingsOverridesHandler(); |
35 virtual ~SettingsOverridesHandler(); | 35 virtual ~SettingsOverridesHandler(); |
36 | 36 |
37 virtual bool Parse(Extension* extension, string16* error) OVERRIDE; | 37 virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; |
38 | 38 |
39 private: | 39 private: |
40 virtual const std::vector<std::string> Keys() const OVERRIDE; | 40 virtual const std::vector<std::string> Keys() const OVERRIDE; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(SettingsOverridesHandler); | 42 DISALLOW_COPY_AND_ASSIGN(SettingsOverridesHandler); |
43 }; | 43 }; |
44 | 44 |
45 } // namespace extensions | 45 } // namespace extensions |
46 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_SETTINGS_OVERRIDES_HANDLER
_H_ | 46 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_SETTINGS_OVERRIDES_HANDLER
_H_ |
OLD | NEW |