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

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

Issue 896053002: Cleanup: Remove an unused parameter in StartupBrowserCreator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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 | « chrome/browser/profiles/profile_window.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 d5d7a9dccf1b3dd5aea8bf3a0bd121249acf0a93..52a8d1a2f3f84598b392d30050d44089cfb442ed 100644
--- a/chrome/browser/ui/startup/startup_browser_creator.h
+++ b/chrome/browser/ui/startup/startup_browser_creator.h
@@ -43,10 +43,9 @@ class StartupBrowserCreator {
bool Start(const base::CommandLine& cmd_line,
const base::FilePath& cur_dir,
Profile* last_used_profile,
- const Profiles& last_opened_profiles,
- int* return_code) {
+ const Profiles& last_opened_profiles) {
return ProcessCmdLineImpl(cmd_line, cur_dir, true, last_used_profile,
- last_opened_profiles, return_code, this);
+ last_opened_profiles, this);
}
// This function performs command-line handling and is invoked only after
@@ -74,8 +73,7 @@ class StartupBrowserCreator {
Profile* profile,
const base::FilePath& cur_dir,
chrome::startup::IsProcessStartup is_process_startup,
- chrome::startup::IsFirstRun is_first_run,
- int* return_code);
+ chrome::startup::IsFirstRun is_first_run);
// When called the first time, reads the value of the preference kWasRestarted
// and resets it to false. Subsequent calls return the value which was read
@@ -128,7 +126,6 @@ class StartupBrowserCreator {
bool process_startup,
Profile* last_used_profile,
const Profiles& last_opened_profiles,
- int* return_code,
StartupBrowserCreator* browser_creator);
// This function performs command-line handling and is invoked only after
« no previous file with comments | « chrome/browser/profiles/profile_window.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