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

Unified Diff: chrome/browser/ui/extensions/app_launch_params.h

Issue 2272813003: Add ARC++ specific fields to launch data for specific apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: chrome build fix. Created 4 years, 4 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
« no previous file with comments | « chrome/browser/ui/chrome_pages.cc ('k') | chrome/browser/ui/extensions/app_launch_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/extensions/app_launch_params.h
diff --git a/chrome/browser/ui/extensions/app_launch_params.h b/chrome/browser/ui/extensions/app_launch_params.h
index 0aeabbabfce88c1187783de5646de0fd644564d6..492855aa020bf1148c5dcba387e88ff533dbb30b 100644
--- a/chrome/browser/ui/extensions/app_launch_params.h
+++ b/chrome/browser/ui/extensions/app_launch_params.h
@@ -10,6 +10,7 @@
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "chrome/common/extensions/extension_constants.h"
+#include "extensions/common/api/app_runtime.h"
#include "extensions/common/constants.h"
#include "ui/base/window_open_disposition.h"
#include "ui/gfx/geometry/rect.h"
@@ -26,7 +27,8 @@ struct AppLaunchParams {
const extensions::Extension* extension,
extensions::LaunchContainer container,
WindowOpenDisposition disposition,
- extensions::AppLaunchSource source);
+ extensions::AppLaunchSource source,
+ bool set_playstore_status = false);
AppLaunchParams(const AppLaunchParams& other);
@@ -62,6 +64,9 @@ struct AppLaunchParams {
// Record where the app is launched from for tracking purpose.
// Different app may have their own enumeration of sources.
extensions::AppLaunchSource source;
+
+ // Status of ARC++ on this device.
+ extensions::api::app_runtime::PlayStoreStatus play_store_status;
};
// Helper to create AppLaunchParams using extensions::GetLaunchContainer with
« no previous file with comments | « chrome/browser/ui/chrome_pages.cc ('k') | chrome/browser/ui/extensions/app_launch_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698