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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator.h

Issue 718133005: Add load-app flag support to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review fixes Created 6 years, 1 month 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 | « apps/app_load_service.cc ('k') | chrome/browser/ui/startup/startup_browser_creator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/startup/startup_browser_creator.h
diff --git a/chrome/browser/ui/startup/startup_browser_creator.h b/chrome/browser/ui/startup/startup_browser_creator.h
index 476dc010e42109989da8457d081881c56870cde8..d5d7a9dccf1b3dd5aea8bf3a0bd121249acf0a93 100644
--- a/chrome/browser/ui/startup/startup_browser_creator.h
+++ b/chrome/browser/ui/startup/startup_browser_creator.h
@@ -131,6 +131,16 @@ class StartupBrowserCreator {
int* return_code,
StartupBrowserCreator* browser_creator);
+ // This function performs command-line handling and is invoked only after
+ // start up (for example when we get a start request for another process).
+ // |command_line| holds the command line being processed.
+ // |cur_dir| is the current working directory that the original process was
+ // invoked from.
+ // |profile| is the profile the apps will be launched in.
+ static bool ProcessLoadApps(const base::CommandLine& command_line,
+ const base::FilePath& cur_dir,
+ Profile* profile);
+
// Callback after a profile has been created.
static void ProcessCommandLineOnProfileCreated(
const base::CommandLine& command_line,
« no previous file with comments | « apps/app_load_service.cc ('k') | chrome/browser/ui/startup/startup_browser_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698