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

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

Issue 7839029: QuotaManager::DeleteOriginData now allows deletion of specific QuotaClients (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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) 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 <vector> 9 #include <vector>
10 10
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 bool waiting_for_clear_networking_history_; 247 bool waiting_for_clear_networking_history_;
248 bool waiting_for_clear_cookies_; 248 bool waiting_for_clear_cookies_;
249 bool waiting_for_clear_cache_; 249 bool waiting_for_clear_cache_;
250 bool waiting_for_clear_lso_data_; 250 bool waiting_for_clear_lso_data_;
251 251
252 // Tracking how many origins need to be deleted, and whether we're finished 252 // Tracking how many origins need to be deleted, and whether we're finished
253 // gathering origins. 253 // gathering origins.
254 int quota_managed_origins_to_delete_count_; 254 int quota_managed_origins_to_delete_count_;
255 int quota_managed_storage_types_to_delete_count_; 255 int quota_managed_storage_types_to_delete_count_;
256 256
257 // Quota managed data uses a different bitmask for types than
258 // BrowsingDataRemover uses. We'll generate that mask in Remove() and store it
259 // here for use in the quota managed data removal methods.
260 int quota_client_mask_;
261
257 ObserverList<Observer> observer_list_; 262 ObserverList<Observer> observer_list_;
258 263
259 // Used if we need to clear history. 264 // Used if we need to clear history.
260 CancelableRequestConsumer request_consumer_; 265 CancelableRequestConsumer request_consumer_;
261 266
262 // Keeps track of whether clearing LSO data is supported. 267 // Keeps track of whether clearing LSO data is supported.
263 BooleanPrefMember clear_plugin_lso_data_enabled_; 268 BooleanPrefMember clear_plugin_lso_data_enabled_;
264 269
265 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); 270 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover);
266 }; 271 };
267 272
268 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ 273 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browsing_data_remover.cc » ('j') | chrome/browser/browsing_data_remover.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698