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

Unified Diff: chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc

Issue 10383114: Rename BrowserInit to StartupBrowserCreator, and move into startup subdir. (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
Index: chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc
===================================================================
--- chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc (revision 136345)
+++ chrome/browser/printing/cloud_print/cloud_print_proxy_service_unittest.cc (working copy)
@@ -10,7 +10,7 @@
#include "chrome/browser/printing/cloud_print/cloud_print_proxy_service.h"
#include "chrome/browser/printing/cloud_print/cloud_print_proxy_service_factory.h"
#include "chrome/browser/service/service_process_control.h"
-#include "chrome/browser/ui/browser_init.h"
+#include "chrome/browser/ui/startup/startup_browser_creator.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/cloud_print/cloud_print_proxy_info.h"
#include "chrome/common/pref_names.h"
@@ -188,10 +188,10 @@
bool LaunchBrowser(const CommandLine& command_line, Profile* profile) {
int return_code = 0;
- BrowserInit browser_init;
- return BrowserInit::ProcessCmdLineImpl(command_line, FilePath(), false,
- profile, BrowserInit::Profiles(),
- &return_code, &browser_init);
+ StartupBrowserCreator browser_creator;
+ return StartupBrowserCreator::ProcessCmdLineImpl(
+ command_line, FilePath(), false, profile,
+ StartupBrowserCreator::Profiles(), &return_code, &browser_creator);
}
protected:
@@ -433,7 +433,7 @@
return service;
}
-TEST_F(CloudPrintProxyPolicyTest, StartBrowserInitWithCommandLine) {
+TEST_F(CloudPrintProxyPolicyTest, StartupBrowserCreatorWithCommandLine) {
TestingPrefService* prefs = profile_.GetTestingPrefService();
prefs->SetUserPref(prefs::kCloudPrintEmail,
Value::CreateStringValue(std::string()));

Powered by Google App Engine
This is Rietveld 408576698