Chromium Code Reviews| 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 9c7919206ab398fb16f315d1d0e86d747dd1202c..98786842671da153c4aa570ad9ef62a51cab9ee6 100644 |
| --- a/chrome/common/extensions/manifest_url_handler.h |
| +++ b/chrome/common/extensions/manifest_url_handler.h |
| @@ -30,6 +30,10 @@ struct ManifestURL : public Extension::ManifestData { |
| // this returns a blank GURL. |
| static const GURL GetHomepageURL(const Extension* extension); |
| + // Returns true if the extension specified a valid home page url in the |
| + // manifest. |
| + static bool SpecifiedHomepageURL(const Extension* extension); |
|
Dan Beam
2014/09/04 23:01:19
why aren't these const&?
Devlin
2014/09/04 23:28:10
For whatever reason, almost all extensions code us
Dan Beam
2014/09/05 00:09:34
eh, it's probably to avoid creating more pointers/
|
| + |
| // Returns the Update URL for this extension. |
| static const GURL& GetUpdateURL(const Extension* extension); |