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

Unified Diff: chrome/browser/extensions/platform_app_launcher.h

Issue 15947007: Move application restart and relaunch code out of ExtensionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pafooey Created 7 years, 7 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
Index: chrome/browser/extensions/platform_app_launcher.h
diff --git a/chrome/browser/extensions/platform_app_launcher.h b/chrome/browser/extensions/platform_app_launcher.h
index 1180f1cd126cd09092fb9c3d0e5b4d0068f7f11c..460c3e84766e5e509d3138b30a6028294e20af54 100644
--- a/chrome/browser/extensions/platform_app_launcher.h
+++ b/chrome/browser/extensions/platform_app_launcher.h
@@ -27,10 +27,10 @@ class Extension;
// the |command_line| fields present. |extension| and |profile| must not be
// NULL. A NULL |command_line| means there is no launch data. If non-empty,
// |current_directory| is used to expand any relative paths on the command line.
-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);
// Launches the platform app |extension| with the contents of |file_path|
// available through the launch data.
@@ -38,6 +38,9 @@ void LaunchPlatformAppWithPath(Profile* profile,
const Extension* extension,
const base::FilePath& file_path);
+// Launches the platform app |extension| with no launch data.
+void LaunchPlatformApp(Profile* profile, const Extension* extension);
+
// Launches the platform app |extension| with the contents of |file_path|
// available through the launch data.
void LaunchPlatformAppWithFileHandler(Profile* profile,
« no previous file with comments | « chrome/browser/extensions/load_and_launch_browsertest.cc ('k') | chrome/browser/extensions/platform_app_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698