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

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

Issue 7533013: Quota: Add quota::StorageType to the GetOriginsCallback definition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing on top of http://crbug.com/63700 Created 9 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
« 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 <vector> 9 #include <vector>
10 10
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 // Performs the actual work to delete the cache. 145 // Performs the actual work to delete the cache.
146 void DoClearCache(int rv); 146 void DoClearCache(int rv);
147 147
148 // Invoked on the IO thread to delete all storage types managed by the quota 148 // Invoked on the IO thread to delete all storage types managed by the quota
149 // system: AppCache, Databases, FileSystems. 149 // system: AppCache, Databases, FileSystems.
150 void ClearQuotaManagedDataOnIOThread(); 150 void ClearQuotaManagedDataOnIOThread();
151 151
152 // Callback to respond to QuotaManager::GetOriginsModifiedSince, which is the 152 // Callback to respond to QuotaManager::GetOriginsModifiedSince, which is the
153 // core of 'ClearQuotaManagedDataOnIOThread'. 153 // core of 'ClearQuotaManagedDataOnIOThread'.
154 void OnGotTemporaryQuotaManagedOrigins(const std::set<GURL>&); 154 void OnGotQuotaManagedOrigins(const std::set<GURL>&, quota::StorageType);
jochen (gone - plz use gerrit) 2011/08/01 09:44:56 all function parameters should be named
Mike West 2011/08/01 09:47:40 Done.
155
156 // Callback to respond to QuotaManager::GetOriginsModifiedSince, which is the
157 // core of `ClearQuotaManagedDataOnIOThread`
158 void OnGotPersistentQuotaManagedOrigins(const std::set<GURL>&);
159 155
160 // Callback responding to deletion of a single quota managed origin's 156 // Callback responding to deletion of a single quota managed origin's
161 // persistent data 157 // persistent data
162 void OnQuotaManagedOriginDeletion(quota::QuotaStatusCode); 158 void OnQuotaManagedOriginDeletion(quota::QuotaStatusCode);
163 159
164 // Called to check whether all temporary and persistent origin data that 160 // Called to check whether all temporary and persistent origin data that
165 // should be deleted has been deleted. If everything's good to go, invokes 161 // should be deleted has been deleted. If everything's good to go, invokes
166 // NotifyAndDeleteIfDone on the UI thread. 162 // NotifyAndDeleteIfDone on the UI thread.
167 void CheckQuotaManagedDataDeletionStatus(); 163 void CheckQuotaManagedDataDeletionStatus();
168 164
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 222
227 ObserverList<Observer> observer_list_; 223 ObserverList<Observer> observer_list_;
228 224
229 // Used if we need to clear history. 225 // Used if we need to clear history.
230 CancelableRequestConsumer request_consumer_; 226 CancelableRequestConsumer request_consumer_;
231 227
232 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); 228 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover);
233 }; 229 };
234 230
235 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ 231 #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