Chromium Code Reviews| 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..db5518467801b81608af0609662ba336c506ab7f 100644 |
| --- a/chrome/browser/ui/extensions/app_launch_params.h |
| +++ b/chrome/browser/ui/extensions/app_launch_params.h |
| @@ -10,11 +10,14 @@ |
| #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" |
| #include "url/gurl.h" |
| +using extensions::api::app_runtime::PlayStoreStatus; |
|
sky
2016/08/24 20:34:23
Style guide says no using like this in header (oth
rkc
2016/08/24 20:38:06
Done.
|
| + |
| class Profile; |
| namespace extensions { |
| @@ -26,7 +29,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 +66,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. |
| + PlayStoreStatus play_store_status; |
| }; |
| // Helper to create AppLaunchParams using extensions::GetLaunchContainer with |