summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_command_controller_unittest.cc
diff options
context:
space:
mode:
authornoms@chromium.org <noms@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 03:30:38 +0000
committernoms@chromium.org <noms@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-18 03:30:38 +0000
commitde71ae9945e89ea1bf1eea94b3d3af9382febf68 (patch)
treeb39dbdd36433de74510abd7c6ac3fdf0fc0b27d6 /chrome/browser/ui/browser_command_controller_unittest.cc
parent703b7e15fc77b4f493bd1a808bd4ac02d7b8fbb0 (diff)
downloadchromium_src-de71ae9945e89ea1bf1eea94b3d3af9382febf68.zip
chromium_src-de71ae9945e89ea1bf1eea94b3d3af9382febf68.tar.gz
chromium_src-de71ae9945e89ea1bf1eea94b3d3af9382febf68.tar.bz2
Refactor utility methods that don't use the ProfileManager directly out of the ProfileManager.
I only picked public, static, functions that look standalone -- i.e. don't use any other functions in the ProfileManager, and only interact with other classes (browser, file paths, registry preferences) BUG=none TEST=existing unit and browser tests Review URL: https://chromiumcodereview.appspot.com/18615010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212221 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_command_controller_unittest.cc')
-rw-r--r--chrome/browser/ui/browser_command_controller_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/ui/browser_command_controller_unittest.cc b/chrome/browser/ui/browser_command_controller_unittest.cc
index 6d50522..b9e5516 100644
--- a/chrome/browser/ui/browser_command_controller_unittest.cc
+++ b/chrome/browser/ui/browser_command_controller_unittest.cc
@@ -9,6 +9,7 @@
#include "chrome/browser/command_updater.h"
#include "chrome/browser/profiles/profile_destroyer.h"
#include "chrome/browser/profiles/profile_manager.h"
+#include "chrome/browser/profiles/profiles_state.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/browser_window_state.h"
@@ -141,7 +142,7 @@ TEST_F(BrowserCommandControllerTest, AppFullScreen) {
}
TEST_F(BrowserCommandControllerTest, AvatarMenuDisabledWhenOnlyOneProfile) {
- if (!ProfileManager::IsMultipleProfilesEnabled())
+ if (!profiles::IsMultipleProfilesEnabled())
return;
TestingProfileManager testing_profile_manager(