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

Side by Side Diff: chrome/common/extensions/manifest_handlers/settings_overrides_handler.h

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 | Annotate | Revision Log
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 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 "chrome/common/extensions/extension.h" 9 #include "extensions/common/extension.h"
10 #include "extensions/common/manifest_handler.h" 10 #include "extensions/common/manifest_handler.h"
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 // SettingsOverride is associated with "chrome_settings_overrides" manifest key. 14 // SettingsOverride is associated with "chrome_settings_overrides" manifest key.
15 // An extension can add a search engine as default or non-default, overwrite the 15 // An extension can add a search engine as default or non-default, overwrite the
16 // homepage and append a startup page to the list. 16 // homepage and append a startup page to the list.
17 struct SettingsOverrides : public Extension::ManifestData { 17 struct SettingsOverrides : public Extension::ManifestData {
18 SettingsOverrides(); 18 SettingsOverrides();
19 virtual ~SettingsOverrides(); 19 virtual ~SettingsOverrides();
(...skipping 17 matching lines...) Expand all
37 virtual bool Parse(Extension* extension, string16* error) OVERRIDE; 37 virtual bool Parse(Extension* extension, 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698