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

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: . 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') | apps/launcher.cc » ('J')
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..803d2e7fc86229067a64ee573fba23f1e6691854 100644
--- a/apps/launcher.h
+++ b/apps/launcher.h
@@ -9,8 +9,11 @@
#include <string>
#include <vector>
+#include "extensions/common/api/app_runtime.h"
#include "extensions/common/constants.h"
+using extensions::api::app_runtime::PlayStoreStatus;
xiyuan 2016/08/24 20:50:31 Just checking, is "using" allowed in header file?
rkc 2016/08/24 20:56:29 Nope, fixed. Done.
+
class GURL;
class Profile;
@@ -35,11 +38,14 @@ 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,
+ PlayStoreStatus play_store_status =
+ 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') | apps/launcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698