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

Unified Diff: chrome/browser/profiles/profile_manager.cc

Issue 10332117: Revert 136573 - Extract StartupTabs and startup types from StartupBrowserCreator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/profiles/profile_manager.h ('k') | chrome/browser/protector/base_setting_change.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_manager.cc
===================================================================
--- chrome/browser/profiles/profile_manager.cc (revision 136581)
+++ chrome/browser/profiles/profile_manager.cc (working copy)
@@ -29,7 +29,6 @@
#include "chrome/browser/sync/profile_sync_service_factory.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
-#include "chrome/browser/ui/startup/startup_browser_creator.h"
#include "chrome/browser/ui/webui/sync_promo/sync_promo_ui.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_notification_types.h"
@@ -151,8 +150,8 @@
if (status == Profile::CREATE_STATUS_INITIALIZED) {
ProfileManager::FindOrCreateNewWindowForProfile(
profile,
- browser::startup::IS_PROCESS_STARTUP,
- browser::startup::IS_FIRST_RUN,
+ StartupBrowserCreator::IS_PROCESS_STARTUP,
+ StartupBrowserCreator::IS_FIRST_RUN,
false);
}
}
@@ -470,8 +469,8 @@
// static
void ProfileManager::FindOrCreateNewWindowForProfile(
Profile* profile,
- browser::startup::IsProcessStartup process_startup,
- browser::startup::IsFirstRun is_first_run,
+ StartupBrowserCreator::IsProcessStartup process_startup,
+ StartupBrowserCreator::IsFirstRun is_first_run,
bool always_create) {
DCHECK(profile);
« no previous file with comments | « chrome/browser/profiles/profile_manager.h ('k') | chrome/browser/protector/base_setting_change.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698