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

Unified Diff: apps/launcher.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 | « no previous file | apps/launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/launcher.h
diff --git a/apps/launcher.h b/apps/launcher.h
index 3a23411fca97afa3ad3e99813bef30b599c9937c..6efa792072225114a2332679dd40ac2f27051191 100644
--- a/apps/launcher.h
+++ b/apps/launcher.h
@@ -9,6 +9,7 @@
#include <string>
#include <vector>
+#include "extensions/common/api/app_runtime.h"
#include "extensions/common/constants.h"
class GURL;
@@ -35,11 +36,15 @@ namespace apps {
// |command_line| means there is no launch data. If non-empty,
// |current_directory| is used to expand any relative paths on the command line.
// |source| is one of the enumerated values which trace how the app is launched.
-void LaunchPlatformAppWithCommandLine(Profile* profile,
- const extensions::Extension* app,
- const base::CommandLine& command_line,
- const base::FilePath& current_directory,
- extensions::AppLaunchSource source);
+void LaunchPlatformAppWithCommandLine(
+ Profile* profile,
+ const extensions::Extension* app,
+ const base::CommandLine& command_line,
+ const base::FilePath& current_directory,
+ extensions::AppLaunchSource source,
+ extensions::api::app_runtime::PlayStoreStatus play_store_status =
+ extensions::api::app_runtime::PlayStoreStatus::
+ PLAY_STORE_STATUS_UNKNOWN);
// Launches the platform app |app| by issuing an onLaunched event with the
// contents of |file_path| available through the launch data.
« no previous file with comments | « no previous file | apps/launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698