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

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

Issue 1864583006: Simplify BrowserContext by removing redundant methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 8 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 base::Time delete_end_; 415 base::Time delete_end_;
416 416
417 // True if Remove has been invoked. 417 // True if Remove has been invoked.
418 bool is_removing_; 418 bool is_removing_;
419 419
420 // If non-NULL, the |completion_inhibitor_| is notified each time an instance 420 // If non-NULL, the |completion_inhibitor_| is notified each time an instance
421 // is about to complete a browsing data removal process, and has the ability 421 // is about to complete a browsing data removal process, and has the ability
422 // to artificially delay completion. Used for testing. 422 // to artificially delay completion. Used for testing.
423 static CompletionInhibitor* completion_inhibitor_; 423 static CompletionInhibitor* completion_inhibitor_;
424 424
425 // Used to delete data from HTTP cache.
426 scoped_refptr<net::URLRequestContextGetter> main_context_getter_;
427 scoped_refptr<net::URLRequestContextGetter> media_context_getter_;
428
429 #if defined(ENABLE_PLUGINS) 425 #if defined(ENABLE_PLUGINS)
430 // Used to delete plugin data. 426 // Used to delete plugin data.
431 scoped_ptr<content::PluginDataRemover> plugin_data_remover_; 427 scoped_ptr<content::PluginDataRemover> plugin_data_remover_;
432 base::WaitableEventWatcher watcher_; 428 base::WaitableEventWatcher watcher_;
433 429
434 // Used to deauthorize content licenses for Pepper Flash. 430 // Used to deauthorize content licenses for Pepper Flash.
435 scoped_ptr<PepperFlashSettingsManager> pepper_flash_settings_manager_; 431 scoped_ptr<PepperFlashSettingsManager> pepper_flash_settings_manager_;
436 #endif 432 #endif
437 433
438 uint32_t deauthorize_content_licenses_request_id_ = 0; 434 uint32_t deauthorize_content_licenses_request_id_ = 0;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 // not initialised, so the registry must be mocked out. 486 // not initialised, so the registry must be mocked out.
491 scoped_ptr<WebappRegistry> webapp_registry_; 487 scoped_ptr<WebappRegistry> webapp_registry_;
492 #endif 488 #endif
493 489
494 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; 490 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_;
495 491
496 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); 492 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover);
497 }; 493 };
498 494
499 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ 495 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/bitmap_fetcher/bitmap_fetcher_service.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