| 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 057589b3cff35ba3ebbdd82f2f5ac5a01c6fb57a..35392f2102f2b35b7e6d0108872aaf96b9b56535 100644
|
| --- a/chrome/common/extensions/manifest_url_handler.h
|
| +++ b/chrome/common/extensions/manifest_url_handler.h
|
| @@ -40,6 +40,9 @@ struct ManifestURL : public Extension::ManifestData {
|
| // Returns the Options Page for this extension.
|
| static const GURL& GetOptionsPage(const Extension* extension);
|
|
|
| + // Returns the About Page for this extension.
|
| + static const GURL& GetAboutPage(const Extension* extension);
|
| +
|
| // Returns the webstore page URL for this extension.
|
| static const GURL GetDetailsURL(const Extension* extension);
|
| };
|
| @@ -120,6 +123,23 @@ class OptionsPageHandler : public ManifestHandler {
|
| DISALLOW_COPY_AND_ASSIGN(OptionsPageHandler);
|
| };
|
|
|
| +// Parses the "about_page" manifest key.
|
| +class AboutPageHandler : public ManifestHandler {
|
| + public:
|
| + AboutPageHandler();
|
| + virtual ~AboutPageHandler();
|
| +
|
| + virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
|
| + virtual bool Validate(const Extension* extension,
|
| + std::string* error,
|
| + std::vector<InstallWarning>* warnings) const OVERRIDE;
|
| +
|
| + private:
|
| + virtual const std::vector<std::string> Keys() const OVERRIDE;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(AboutPageHandler);
|
| +};
|
| +
|
| // Parses the "chrome_url_overrides" manifest key.
|
| class URLOverridesHandler : public ManifestHandler {
|
| public:
|
|
|