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

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

Issue 10830210: Fix crbug.com/140910 (BrowsingDataRemover not working). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More places fixed, added DCHECK and conversion to BrowsingDataRemover. Created 8 years, 4 months 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_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_
6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // The DOMStorageContext is owned by the profile; we'll store a raw pointer. 301 // The DOMStorageContext is owned by the profile; we'll store a raw pointer.
302 content::DOMStorageContext* dom_storage_context_; 302 content::DOMStorageContext* dom_storage_context_;
303 303
304 // 'Protected' origins are not subject to data removal. 304 // 'Protected' origins are not subject to data removal.
305 scoped_refptr<ExtensionSpecialStoragePolicy> special_storage_policy_; 305 scoped_refptr<ExtensionSpecialStoragePolicy> special_storage_policy_;
306 306
307 // Start time to delete from. 307 // Start time to delete from.
308 const base::Time delete_begin_; 308 const base::Time delete_begin_;
309 309
310 // End time to delete to. 310 // End time to delete to.
311 const base::Time delete_end_; 311 base::Time delete_end_;
312 312
313 // True if Remove has been invoked. 313 // True if Remove has been invoked.
314 static bool removing_; 314 static bool removing_;
315 315
316 CacheState next_cache_state_; 316 CacheState next_cache_state_;
317 disk_cache::Backend* cache_; 317 disk_cache::Backend* cache_;
318 318
319 // Used to delete data from HTTP cache. 319 // Used to delete data from HTTP cache.
320 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; 320 scoped_refptr<net::URLRequestContextGetter> main_context_getter_;
321 scoped_refptr<net::URLRequestContextGetter> media_context_getter_; 321 scoped_refptr<net::URLRequestContextGetter> media_context_getter_;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 358
359 ObserverList<Observer> observer_list_; 359 ObserverList<Observer> observer_list_;
360 360
361 // Used if we need to clear history. 361 // Used if we need to clear history.
362 CancelableRequestConsumer request_consumer_; 362 CancelableRequestConsumer request_consumer_;
363 363
364 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); 364 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover);
365 }; 365 };
366 366
367 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ 367 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698