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

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

Issue 11726002: Move the parsing of 'update_url' & 'options_page' URLs out of Extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@url_parse
Patch Set: Created 8 years 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
Index: chrome/common/extensions/manifest_url_info.h
diff --git a/chrome/common/extensions/manifest_url_info.h b/chrome/common/extensions/manifest_url_info.h
index 20c5cbbb2d6dc8f1403416278c36e3d17db8dc83..15ee587b105de8796cfe3b73c1c7142c673f03d9 100644
--- a/chrome/common/extensions/manifest_url_info.h
+++ b/chrome/common/extensions/manifest_url_info.h
@@ -25,6 +25,14 @@ struct ManifestURLInfo : public Extension::ManifestData {
// specified in the manifest, this returns the Google Gallery URL. For
// third-party extensions, this returns a blank GURL.
static const GURL GetHomepageURL(const Extension* extension);
+
+ // Get the URL associated with "update_url" manifest key.
+ // This is the URL for fetching an update manifest.
+ static const GURL& GetUpdateURL(const Extension* extension);
+
+ // Get the URL associated with "options_page" manifest key.
+ // Optional URL to a page for setting options/preferences.
+ static const GURL& GetOptionsPage(const Extension* extension);
};
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698