summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profiles/profile_manager.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 17:48:51 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 17:48:51 +0000
commita28837d332fc0dedab294881577cb636ca0386cd (patch)
tree0726362606a9d0d0e04bfcf378c20a90985edc48 /chrome/browser/profiles/profile_manager.cc
parentd01fbeeb62303eb624ba5c0a9e2fada510a79bd0 (diff)
downloadchromium_src-a28837d332fc0dedab294881577cb636ca0386cd.zip
chromium_src-a28837d332fc0dedab294881577cb636ca0386cd.tar.gz
chromium_src-a28837d332fc0dedab294881577cb636ca0386cd.tar.bz2
Rename BrowserInit to StartupBrowserCreator, and move into startup subdir.
BUG=none TEST=none TBR=sky Review URL: https://chromiumcodereview.appspot.com/10356100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile_manager.cc')
-rw-r--r--chrome/browser/profiles/profile_manager.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 64385fd..4abb87e 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -150,8 +150,8 @@ void OnOpenWindowForNewProfile(Profile* profile,
if (status == Profile::CREATE_STATUS_INITIALIZED) {
ProfileManager::FindOrCreateNewWindowForProfile(
profile,
- BrowserInit::IS_PROCESS_STARTUP,
- BrowserInit::IS_FIRST_RUN,
+ StartupBrowserCreator::IS_PROCESS_STARTUP,
+ StartupBrowserCreator::IS_FIRST_RUN,
false);
}
}
@@ -469,8 +469,8 @@ Profile* ProfileManager::GetProfileByPath(const FilePath& path) const {
// static
void ProfileManager::FindOrCreateNewWindowForProfile(
Profile* profile,
- BrowserInit::IsProcessStartup process_startup,
- BrowserInit::IsFirstRun is_first_run,
+ StartupBrowserCreator::IsProcessStartup process_startup,
+ StartupBrowserCreator::IsFirstRun is_first_run,
bool always_create) {
DCHECK(profile);
@@ -485,9 +485,9 @@ void ProfileManager::FindOrCreateNewWindowForProfile(
content::RecordAction(UserMetricsAction("NewWindow"));
CommandLine command_line(CommandLine::NO_PROGRAM);
int return_code;
- BrowserInit browser_init;
- browser_init.LaunchBrowser(command_line, profile, FilePath(),
- process_startup, is_first_run, &return_code);
+ StartupBrowserCreator browser_creator;
+ browser_creator.LaunchBrowser(command_line, profile, FilePath(),
+ process_startup, is_first_run, &return_code);
}
void ProfileManager::Observe(