summaryrefslogtreecommitdiffstats
path: root/chrome_frame
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_frame
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_frame')
-rw-r--r--chrome_frame/test/net/fake_external_tab.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc
index 0b7d615..3b76c6f 100644
--- a/chrome_frame/test/net/fake_external_tab.cc
+++ b/chrome_frame/test/net/fake_external_tab.cc
@@ -39,6 +39,7 @@
#include "chrome/browser/process_singleton.h"
#include "chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.h"
#include "chrome/browser/profiles/profile_manager.h"
+#include "chrome/browser/profiles/profiles_state.h"
#include "chrome/browser/renderer_host/web_cache_manager.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_content_client.h"
@@ -549,7 +550,7 @@ void FakeExternalTab::InitializePostThreadsCreated() {
views::CreateDesktopScreen());
#endif
base::FilePath profile_path(
- ProfileManager::GetDefaultProfileDir(user_data()));
+ profiles::GetDefaultProfileDir(user_data()));
Profile* profile =
g_browser_process->profile_manager()->GetProfile(profile_path);
}