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

Side by Side Diff: chrome/browser/profiles/profile_impl.h

Issue 11238034: Added completion notification to Profile's ClearNetworkingHistorySince. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Increased similarity threshold... Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 GetRequestContextForExtensions() OVERRIDE; 102 GetRequestContextForExtensions() OVERRIDE;
103 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 103 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
104 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 104 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
105 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; 105 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
106 virtual bool IsSameProfile(Profile* profile) OVERRIDE; 106 virtual bool IsSameProfile(Profile* profile) OVERRIDE;
107 virtual base::Time GetStartTime() const OVERRIDE; 107 virtual base::Time GetStartTime() const OVERRIDE;
108 virtual void InitPromoResources() OVERRIDE; 108 virtual void InitPromoResources() OVERRIDE;
109 virtual FilePath last_selected_directory() OVERRIDE; 109 virtual FilePath last_selected_directory() OVERRIDE;
110 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; 110 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE;
111 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 111 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
112 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; 112 virtual void ClearNetworkingHistorySince(
113 base::Time time,
114 const base::Closure& completion) OVERRIDE;
113 virtual GURL GetHomePage() OVERRIDE; 115 virtual GURL GetHomePage() OVERRIDE;
114 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; 116 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE;
115 virtual void SetExitType(ExitType exit_type) OVERRIDE; 117 virtual void SetExitType(ExitType exit_type) OVERRIDE;
116 virtual ExitType GetLastSessionExitType() OVERRIDE; 118 virtual ExitType GetLastSessionExitType() OVERRIDE;
117 119
118 #if defined(OS_CHROMEOS) 120 #if defined(OS_CHROMEOS)
119 virtual void ChangeAppLocale(const std::string& locale, 121 virtual void ChangeAppLocale(const std::string& locale,
120 AppLocaleChangedVia) OVERRIDE; 122 AppLocaleChangedVia) OVERRIDE;
121 virtual void OnLogin() OVERRIDE; 123 virtual void OnLogin() OVERRIDE;
122 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE; 124 virtual void SetupChromeOSEnterpriseExtensionObserver() OVERRIDE;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} 264 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc}
263 265
264 Profile::Delegate* delegate_; 266 Profile::Delegate* delegate_;
265 267
266 chrome_browser_net::Predictor* predictor_; 268 chrome_browser_net::Predictor* predictor_;
267 269
268 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 270 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
269 }; 271 };
270 272
271 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 273 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698