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

Unified Diff: chrome/browser/ui/startup/startup_browser_creator_browsertest.cc

Issue 10704023: Moved ExtensionPrefs and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest-er master merged in Created 8 years, 5 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/ui/startup/startup_browser_creator_browsertest.cc
diff --git a/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc b/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
index a131eb01d328798b9def544971f5dde942057335..5c91116ab48f012d5d0ffc76f1d087dd97f5f335 100644
--- a/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
+++ b/chrome/browser/ui/startup/startup_browser_creator_browsertest.cc
@@ -67,7 +67,7 @@ class StartupBrowserCreatorTest : public ExtensionBrowserTest {
}
void SetAppLaunchPref(const std::string& app_id,
- ExtensionPrefs::LaunchType launch_type) {
+ extensions::ExtensionPrefs::LaunchType launch_type) {
ExtensionService* service = browser()->profile()->GetExtensionService();
service->extension_prefs()->SetLaunchType(app_id, launch_type);
}
@@ -260,7 +260,8 @@ IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, OpenAppShortcutWindowPref) {
ASSERT_NO_FATAL_FAILURE(LoadApp("app_with_tab_container", &extension_app));
// Set a pref indicating that the user wants to open this app in a window.
- SetAppLaunchPref(extension_app->id(), ExtensionPrefs::LAUNCH_WINDOW);
+ SetAppLaunchPref(extension_app->id(),
+ extensions::ExtensionPrefs::LAUNCH_WINDOW);
CommandLine command_line(CommandLine::NO_PROGRAM);
command_line.AppendSwitchASCII(switches::kAppId, extension_app->id());
@@ -290,7 +291,8 @@ IN_PROC_BROWSER_TEST_F(StartupBrowserCreatorTest, OpenAppShortcutTabPref) {
ASSERT_NO_FATAL_FAILURE(LoadApp("app_with_tab_container", &extension_app));
// Set a pref indicating that the user wants to open this app in a window.
- SetAppLaunchPref(extension_app->id(), ExtensionPrefs::LAUNCH_REGULAR);
+ SetAppLaunchPref(extension_app->id(),
+ extensions::ExtensionPrefs::LAUNCH_REGULAR);
CommandLine command_line(CommandLine::NO_PROGRAM);
command_line.AppendSwitchASCII(switches::kAppId, extension_app->id());
« no previous file with comments | « chrome/browser/ui/extensions/application_launch.cc ('k') | chrome/browser/ui/startup/startup_browser_creator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698