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. |