Index: chrome/browser/extensions/platform_app_launcher.cc |
diff --git a/chrome/browser/extensions/platform_app_launcher.cc b/chrome/browser/extensions/platform_app_launcher.cc |
index 54289e49f6f906294fe6ec7be6dcbd91d8176f08..8c6330eb0afac2eb81b292630f9a539d6c86c440 100644 |
--- a/chrome/browser/extensions/platform_app_launcher.cc |
+++ b/chrome/browser/extensions/platform_app_launcher.cc |
@@ -280,10 +280,10 @@ class PlatformAppPathLauncher |
} // namespace |
-void LaunchPlatformApp(Profile* profile, |
- const Extension* extension, |
- const CommandLine* command_line, |
- const base::FilePath& current_directory) { |
+void LaunchPlatformAppWithCommandLine(Profile* profile, |
+ const Extension* extension, |
+ const CommandLine* command_line, |
+ const base::FilePath& current_directory) { |
#if defined(OS_WIN) |
// On Windows 8's single window Metro mode we can not launch platform apps. |
// Offer to switch Chrome to desktop mode. |
@@ -317,6 +317,10 @@ void LaunchPlatformAppWithPath(Profile* profile, |
launcher->Launch(); |
} |
+void LaunchPlatformApp(Profile* profile, const Extension* extension) { |
+ LaunchPlatformAppWithCommandLine(profile, extension, NULL, base::FilePath()); |
+} |
+ |
void LaunchPlatformAppWithFileHandler(Profile* profile, |
const Extension* extension, |
const std::string& handler_id, |