summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.h
diff options
context:
space:
mode:
authorrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 18:13:53 +0000
committerrohitrao@chromium.org <rohitrao@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 18:13:53 +0000
commite5d2f713578962c4a2dc25dffe4002bb4153bfcb (patch)
treef8026c823028e7b835259c18ed2685f771cef244 /chrome/browser/profile.h
parent51b623da27ffd93a28b03377d43a407f7811d292 (diff)
downloadchromium_src-e5d2f713578962c4a2dc25dffe4002bb4153bfcb.zip
chromium_src-e5d2f713578962c4a2dc25dffe4002bb4153bfcb.tar.gz
chromium_src-e5d2f713578962c4a2dc25dffe4002bb4153bfcb.tar.bz2
Do not prepopulate the findbar with incognito search terms.
BUG=32021 TEST=On win/linux, open an incognito window and search for some term. Then open a new normal tab and press Ctrl-F. Findbar should not be prepopoulated with your incognito search term. Review URL: http://codereview.chromium.org/1561018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44104 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.h')
-rw-r--r--chrome/browser/profile.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
index 15cb97a..feee692 100644
--- a/chrome/browser/profile.h
+++ b/chrome/browser/profile.h
@@ -43,6 +43,7 @@ class ExtensionProcessManager;
class ExtensionMessageService;
class ExtensionsService;
class FaviconService;
+class FindBarState;
class GeolocationContentSettingsMap;
class HistoryService;
class HostContentSettingsMap;
@@ -319,6 +320,10 @@ class Profile {
// Returns the user style sheet watcher.
virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() = 0;
+ // Returns the find bar state for this profile. The find bar state is lazily
+ // created the first time that this method is called.
+ virtual FindBarState* GetFindBarState() = 0;
+
// Returns the session service for this profile. This may return NULL. If
// this profile supports a session service (it isn't off the record), and
// the session service hasn't yet been created, this forces creation of
@@ -491,6 +496,7 @@ class ProfileImpl : public Profile,
virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap();
virtual Blacklist* GetPrivacyBlacklist();
virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher();
+ virtual FindBarState* GetFindBarState();
virtual SessionService* GetSessionService();
virtual void ShutdownSessionService();
virtual bool HasSessionService() const;
@@ -580,6 +586,7 @@ class ProfileImpl : public Profile,
geolocation_content_settings_map_;
scoped_refptr<Blacklist> privacy_blacklist_;
scoped_refptr<UserStyleSheetWatcher> user_style_sheet_watcher_;
+ scoped_ptr<FindBarState> find_bar_state_;
scoped_refptr<DownloadManager> download_manager_;
scoped_refptr<HistoryService> history_service_;
scoped_refptr<FaviconService> favicon_service_;