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

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

Issue 11742037: Make ServerBoundCertStore interface async, move SQLiteServerBoundCertStore load onto DB thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix login_utils_browsertest Created 7 years, 11 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/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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // Callback when Cookies has been deleted. Invokes NotifyAndDeleteIfDone. 314 // Callback when Cookies has been deleted. Invokes NotifyAndDeleteIfDone.
315 void OnClearedCookies(int num_deleted); 315 void OnClearedCookies(int num_deleted);
316 316
317 // Invoked on the IO thread to delete cookies. 317 // Invoked on the IO thread to delete cookies.
318 void ClearCookiesOnIOThread(net::URLRequestContextGetter* rq_context); 318 void ClearCookiesOnIOThread(net::URLRequestContextGetter* rq_context);
319 319
320 // Invoked on the IO thread to delete server bound certs. 320 // Invoked on the IO thread to delete server bound certs.
321 void ClearServerBoundCertsOnIOThread( 321 void ClearServerBoundCertsOnIOThread(
322 net::URLRequestContextGetter* rq_context); 322 net::URLRequestContextGetter* rq_context);
323 323
324 // Callback on IO Thread when server bound certs have been deleted. Clears SSL
325 // connection pool and posts to UI thread to run OnClearedServerBoundCerts.
326 void OnClearedServerBoundCertsOnIOThread(
327 net::URLRequestContextGetter* rq_context);
328
324 // Callback when server bound certs have been deleted. Invokes 329 // Callback when server bound certs have been deleted. Invokes
325 // NotifyAndDeleteIfDone. 330 // NotifyAndDeleteIfDone.
326 void OnClearedServerBoundCerts(); 331 void OnClearedServerBoundCerts();
327 332
328 // Callback on the DB thread so that we can wait for the form data to be 333 // Callback on the DB thread so that we can wait for the form data to be
329 // cleared. 334 // cleared.
330 void FormDataDBThreadHop(); 335 void FormDataDBThreadHop();
331 336
332 // Callback from the above method. 337 // Callback from the above method.
333 void OnClearedFormData(); 338 void OnClearedFormData();
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 415
411 ObserverList<Observer> observer_list_; 416 ObserverList<Observer> observer_list_;
412 417
413 // Used if we need to clear history. 418 // Used if we need to clear history.
414 CancelableTaskTracker history_task_tracker_; 419 CancelableTaskTracker history_task_tracker_;
415 420
416 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); 421 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover);
417 }; 422 };
418 423
419 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ 424 #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