diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-02 18:46:16 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-02 18:46:16 +0000 |
commit | f87919d70dd8ec6cacf8de22ad670466fc035574 (patch) | |
tree | e9697299edad96c759ff87332dabb47c6defbfaa /chrome/browser/ui/browser.h | |
parent | 2cbcdca119f009bdf15608eebd9d3322d08e0861 (diff) | |
download | chromium_src-f87919d70dd8ec6cacf8de22ad670466fc035574.zip chromium_src-f87919d70dd8ec6cacf8de22ad670466fc035574.tar.gz chromium_src-f87919d70dd8ec6cacf8de22ad670466fc035574.tar.bz2 |
Remove user-related data from local_state and add to user_preferences, in preparation for multi-profile.
devtools
kDevToolsSplitLocation
browser
kBrowserWindowPlacement
Also add a method to browser_prefs to delete obsolete preferences from local state, and fix all related tests.
BUG=66717
TEST=all browser, interactive, and ui tests work properly
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72153
Review URL: http://codereview.chromium.org/5915006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser.h')
-rw-r--r-- | chrome/browser/ui/browser.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h index 0ab7df6..eaa2b57 100644 --- a/chrome/browser/ui/browser.h +++ b/chrome/browser/ui/browser.h @@ -961,9 +961,10 @@ class Browser : public TabHandlerDelegate, void TabDetachedAtImpl(TabContentsWrapper* contents, int index, DetachType type); - // Create a preference dictionary for the provided application name. This is - // done only once per application name / per session. - static void RegisterAppPrefs(const std::string& app_name); + // Create a preference dictionary for the provided application name, in the + // given user profile. This is done only once per application name / per + // session / per user profile. + static void RegisterAppPrefs(const std::string& app_name, Profile* profile); // Shared code between Reload() and ReloadIgnoringCache(). void ReloadInternal(WindowOpenDisposition disposition, bool ignore_cache); |