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

Unified Diff: chrome/common/extensions/manifest_url_handler.h

Issue 12253022: Manifest handler for all keys background-related. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/manifest_unittest.cc ('k') | chrome/common/extensions/manifest_url_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/manifest_url_handler.h
diff --git a/chrome/common/extensions/manifest_url_handler.h b/chrome/common/extensions/manifest_url_handler.h
index 249542b182d48d2ffb175a3bf7df4efb7873bc8f..37cc4aeb12ebc9aaa443afe1a704e877e3efcf6e 100644
--- a/chrome/common/extensions/manifest_url_handler.h
+++ b/chrome/common/extensions/manifest_url_handler.h
@@ -60,6 +60,11 @@ class DevToolsPageHandler : public ManifestHandler {
virtual ~DevToolsPageHandler();
virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
+
+ private:
+ virtual const std::vector<std::string> Keys() const OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(DevToolsPageHandler);
};
// Parses the "homepage_url" manifest key.
@@ -69,6 +74,11 @@ class HomepageURLHandler : public ManifestHandler {
virtual ~HomepageURLHandler();
virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
+
+ private:
+ virtual const std::vector<std::string> Keys() const OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(HomepageURLHandler);
};
// Parses the "update_url" manifest key.
@@ -78,6 +88,11 @@ class UpdateURLHandler : public ManifestHandler {
virtual ~UpdateURLHandler();
virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
+
+ private:
+ virtual const std::vector<std::string> Keys() const OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(UpdateURLHandler);
};
// Parses the "options_page" manifest key.
@@ -87,6 +102,11 @@ class OptionsPageHandler : public ManifestHandler {
virtual ~OptionsPageHandler();
virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
+
+ private:
+ virtual const std::vector<std::string> Keys() const OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(OptionsPageHandler);
};
// Parses the "chrome_url_overrides" manifest key.
@@ -96,6 +116,11 @@ class URLOverridesHandler : public ManifestHandler {
virtual ~URLOverridesHandler();
virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
+
+ private:
+ virtual const std::vector<std::string> Keys() const OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(URLOverridesHandler);
};
} // namespace extensions
« no previous file with comments | « chrome/common/extensions/manifest_unittest.cc ('k') | chrome/common/extensions/manifest_url_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698