diff options
Diffstat (limited to 'chrome/common/extensions/extension.h')
-rw-r--r-- | chrome/common/extensions/extension.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h index f1dbbfd..1420f59 100644 --- a/chrome/common/extensions/extension.h +++ b/chrome/common/extensions/extension.h @@ -284,6 +284,11 @@ class Extension { bool GetBackgroundPageReady(); void SetBackgroundPageReady(); + // Getter and setter for the flag that specifies whether the extension is + // being upgraded. + bool being_upgraded() const { return being_upgraded_; } + void set_being_upgraded(bool value) { being_upgraded_ = value; } + // App stuff. const URLPatternList& app_extent() const { return app_extent_; } const GURL& app_launch_url() const { return app_launch_url_; } @@ -432,6 +437,9 @@ class Extension { // True if the background page is ready. bool background_page_ready_; + // True while the extension is being upgraded. + bool being_upgraded_; + FRIEND_TEST(ExtensionTest, LoadPageActionHelper); FRIEND_TEST(TabStripModelTest, Apps); |