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

Side by Side Diff: chrome/browser/browsing_data_remover.h

Issue 8832006: Reverts a commit that caused ASAN failures, and 2 dependent commits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data_remover.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSING_DATA_REMOVER_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_REMOVER_H_
6 #define CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_REMOVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 // Start time to delete from. 222 // Start time to delete from.
223 const base::Time delete_begin_; 223 const base::Time delete_begin_;
224 224
225 // End time to delete to. 225 // End time to delete to.
226 const base::Time delete_end_; 226 const base::Time delete_end_;
227 227
228 // True if Remove has been invoked. 228 // True if Remove has been invoked.
229 static bool removing_; 229 static bool removing_;
230 230
231 // Used to delete data from the HTTP caches. 231 // Used to delete data from the HTTP caches.
232 net::CompletionCallback cache_callback_; 232 net::OldCompletionCallbackImpl<BrowsingDataRemover> cache_callback_;
233 CacheState next_cache_state_; 233 CacheState next_cache_state_;
234 disk_cache::Backend* cache_; 234 disk_cache::Backend* cache_;
235 235
236 // Used to delete data from HTTP cache. 236 // Used to delete data from HTTP cache.
237 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; 237 scoped_refptr<net::URLRequestContextGetter> main_context_getter_;
238 scoped_refptr<net::URLRequestContextGetter> media_context_getter_; 238 scoped_refptr<net::URLRequestContextGetter> media_context_getter_;
239 239
240 // Used to delete plugin data. 240 // Used to delete plugin data.
241 scoped_ptr<content::PluginDataRemover> plugin_data_remover_; 241 scoped_ptr<content::PluginDataRemover> plugin_data_remover_;
242 base::WaitableEventWatcher watcher_; 242 base::WaitableEventWatcher watcher_;
(...skipping 14 matching lines...) Expand all
257 257
258 ObserverList<Observer> observer_list_; 258 ObserverList<Observer> observer_list_;
259 259
260 // Used if we need to clear history. 260 // Used if we need to clear history.
261 CancelableRequestConsumer request_consumer_; 261 CancelableRequestConsumer request_consumer_;
262 262
263 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); 263 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover);
264 }; 264 };
265 265
266 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ 266 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698