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

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

Issue 11238034: Added completion notification to Profile's ClearNetworkingHistorySince. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed IO/UI typo and rebased. 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 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 virtual void InitChromeOSPreferences() OVERRIDE; 73 virtual void InitChromeOSPreferences() OVERRIDE;
74 74
75 virtual void ChangeAppLocale(const std::string& locale, 75 virtual void ChangeAppLocale(const std::string& locale,
76 AppLocaleChangedVia) OVERRIDE; 76 AppLocaleChangedVia) OVERRIDE;
77 virtual void OnLogin() OVERRIDE; 77 virtual void OnLogin() OVERRIDE;
78 #endif // defined(OS_CHROMEOS) 78 #endif // defined(OS_CHROMEOS)
79 79
80 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 80 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
81 81
82 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 82 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
83 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; 83 virtual void ClearNetworkingHistorySince(
84 base::Time time,
85 const base::Closure& completion) OVERRIDE;
84 virtual GURL GetHomePage() OVERRIDE; 86 virtual GURL GetHomePage() OVERRIDE;
85 87
86 // content::BrowserContext implementation: 88 // content::BrowserContext implementation:
87 virtual FilePath GetPath() OVERRIDE; 89 virtual FilePath GetPath() OVERRIDE;
88 virtual bool IsOffTheRecord() const OVERRIDE; 90 virtual bool IsOffTheRecord() const OVERRIDE;
89 virtual content::DownloadManagerDelegate* 91 virtual content::DownloadManagerDelegate*
90 GetDownloadManagerDelegate() OVERRIDE; 92 GetDownloadManagerDelegate() OVERRIDE;
91 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 93 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
92 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 94 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
93 int renderer_child_id) OVERRIDE; 95 int renderer_child_id) OVERRIDE;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 Time start_time_; 140 Time start_time_;
139 141
140 FilePath last_selected_directory_; 142 FilePath last_selected_directory_;
141 143
142 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 144 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
143 145
144 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 146 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
145 }; 147 };
146 148
147 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 149 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/http_server_properties_manager_unittest.cc ('k') | chrome/browser/profiles/off_the_record_profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698