diff options
Diffstat (limited to 'chrome/common/extensions/extension.h')
-rw-r--r-- | chrome/common/extensions/extension.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h index 03eaee3..5ed2f7f 100644 --- a/chrome/common/extensions/extension.h +++ b/chrome/common/extensions/extension.h @@ -286,10 +286,9 @@ class Extension { bool GetBackgroundPageReady(); void SetBackgroundPageReady(); - // App stuff. + // The origins that this app is registered to. const std::vector<GURL>& app_origins() const { return app_origins_; } - const GURL& app_launch_url() const { return app_launch_url_; } - bool IsApp() const { return !app_launch_url_.is_empty(); } + bool IsApp() const { return !app_origins_.empty(); } private: // Helper method that loads a UserScript object from a @@ -423,9 +422,6 @@ class Extension { // The vector of origin URLs associated with an app. std::vector<GURL> app_origins_; - // The URL an app should launch to. - GURL app_launch_url_; - // Runtime data: |