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

Unified Diff: chrome/browser/ui/app_list/arc/arc_app_launcher.h

Issue 2751913004: arc: Fix race conditon when Play Store is started too early. (Closed)
Patch Set: Created 3 years, 9 months 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/browser/ui/app_list/arc/arc_app_launcher.h
diff --git a/chrome/browser/ui/app_list/arc/arc_app_launcher.h b/chrome/browser/ui/app_list/arc/arc_app_launcher.h
index 613ad2bdf463ce73c2a407c78c44f5c3f087a857..6fae26bce26ac7276737875c246b98013498bb6d 100644
--- a/chrome/browser/ui/app_list/arc/arc_app_launcher.h
+++ b/chrome/browser/ui/app_list/arc/arc_app_launcher.h
@@ -20,7 +20,8 @@ class ArcAppLauncher : public ArcAppListPrefs::Observer {
public:
ArcAppLauncher(content::BrowserContext* context,
hidehiko 2017/03/16 01:05:39 Please document what "deferred_launch_allowed" is.
khmel 2017/03/16 16:12:14 Done.
const std::string& app_id,
- bool landscape_layout);
+ bool landscape_layout,
+ bool deferred_launch_allowed);
~ArcAppLauncher() override;
bool app_launched() const { return app_launched_; }
@@ -38,7 +39,8 @@ class ArcAppLauncher : public ArcAppListPrefs::Observer {
// ARC app id and requested layout.
const std::string app_id_;
const bool landscape_layout_;
- // Flag idicating that ARC app was launched.
+ const bool deferred_launch_allowed_;
+ // Flag indicating that ARC app was launched.
bool app_launched_ = false;
DISALLOW_COPY_AND_ASSIGN(ArcAppLauncher);

Powered by Google App Engine
This is Rietveld 408576698