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

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

Issue 11475007: Exclude content/plugin/ when plugins are disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/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) 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 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 // True if Remove has been invoked. 359 // True if Remove has been invoked.
360 static bool is_removing_; 360 static bool is_removing_;
361 361
362 CacheState next_cache_state_; 362 CacheState next_cache_state_;
363 disk_cache::Backend* cache_; 363 disk_cache::Backend* cache_;
364 364
365 // Used to delete data from HTTP cache. 365 // Used to delete data from HTTP cache.
366 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; 366 scoped_refptr<net::URLRequestContextGetter> main_context_getter_;
367 scoped_refptr<net::URLRequestContextGetter> media_context_getter_; 367 scoped_refptr<net::URLRequestContextGetter> media_context_getter_;
368 368
369 #if defined(ENABLE_PLUGINS)
369 // Used to delete plugin data. 370 // Used to delete plugin data.
370 scoped_ptr<content::PluginDataRemover> plugin_data_remover_; 371 scoped_ptr<content::PluginDataRemover> plugin_data_remover_;
371 base::WaitableEventWatcher watcher_; 372 base::WaitableEventWatcher watcher_;
372 373
373 #if defined(ENABLE_PLUGINS)
374 // Used to deauthorize content licenses for Pepper Flash. 374 // Used to deauthorize content licenses for Pepper Flash.
375 scoped_ptr<PepperFlashSettingsManager> pepper_flash_settings_manager_; 375 scoped_ptr<PepperFlashSettingsManager> pepper_flash_settings_manager_;
376 #endif 376 #endif
377 377
378 uint32 deauthorize_content_licenses_request_id_; 378 uint32 deauthorize_content_licenses_request_id_;
379 // True if we're waiting for various data to be deleted. 379 // True if we're waiting for various data to be deleted.
380 // These may only be accessed from UI thread in order to avoid races! 380 // These may only be accessed from UI thread in order to avoid races!
381 bool waiting_for_clear_cache_; 381 bool waiting_for_clear_cache_;
382 bool waiting_for_clear_content_licenses_; 382 bool waiting_for_clear_content_licenses_;
383 // Non-zero if waiting for cookies to be cleared. 383 // Non-zero if waiting for cookies to be cleared.
(...skipping 26 matching lines...) Expand all
410 410
411 ObserverList<Observer> observer_list_; 411 ObserverList<Observer> observer_list_;
412 412
413 // Used if we need to clear history. 413 // Used if we need to clear history.
414 CancelableTaskTracker history_task_tracker_; 414 CancelableTaskTracker history_task_tracker_;
415 415
416 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); 416 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover);
417 }; 417 };
418 418
419 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ 419 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698