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

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

Issue 10701094: Don't keep file system directories around if they contain unrelated files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: error message Created 8 years, 5 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) 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_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 <set> 9 #include <set>
10 10
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // system: AppCache, Databases, FileSystems. 246 // system: AppCache, Databases, FileSystems.
247 void ClearQuotaManagedDataOnIOThread(); 247 void ClearQuotaManagedDataOnIOThread();
248 248
249 // Callback to respond to QuotaManager::GetOriginsModifiedSince, which is the 249 // Callback to respond to QuotaManager::GetOriginsModifiedSince, which is the
250 // core of 'ClearQuotaManagedDataOnIOThread'. 250 // core of 'ClearQuotaManagedDataOnIOThread'.
251 void OnGotQuotaManagedOrigins(const std::set<GURL>& origins, 251 void OnGotQuotaManagedOrigins(const std::set<GURL>& origins,
252 quota::StorageType type); 252 quota::StorageType type);
253 253
254 // Callback responding to deletion of a single quota managed origin's 254 // Callback responding to deletion of a single quota managed origin's
255 // persistent data 255 // persistent data
256 void OnQuotaManagedOriginDeletion(quota::QuotaStatusCode); 256 void OnQuotaManagedOriginDeletion(const GURL& origin,
257 quota::StorageType type,
258 quota::QuotaStatusCode);
257 259
258 // Called to check whether all temporary and persistent origin data that 260 // Called to check whether all temporary and persistent origin data that
259 // should be deleted has been deleted. If everything's good to go, invokes 261 // should be deleted has been deleted. If everything's good to go, invokes
260 // OnQuotaManagedDataDeleted on the UI thread. 262 // OnQuotaManagedDataDeleted on the UI thread.
261 void CheckQuotaManagedDataDeletionStatus(); 263 void CheckQuotaManagedDataDeletionStatus();
262 264
263 // Completion handler that runs on the UI thread once persistent data has been 265 // Completion handler that runs on the UI thread once persistent data has been
264 // deleted. Updates the waiting flag and invokes NotifyAndDeleteIfDone. 266 // deleted. Updates the waiting flag and invokes NotifyAndDeleteIfDone.
265 void OnQuotaManagedDataDeleted(); 267 void OnQuotaManagedDataDeleted();
266 268
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 359
358 ObserverList<Observer> observer_list_; 360 ObserverList<Observer> observer_list_;
359 361
360 // Used if we need to clear history. 362 // Used if we need to clear history.
361 CancelableRequestConsumer request_consumer_; 363 CancelableRequestConsumer request_consumer_;
362 364
363 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); 365 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover);
364 }; 366 };
365 367
366 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ 368 #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