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

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: . 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
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
markusheintz_ 2013/01/04 18:03:40 nit: Pls delete one space before "Clears".
mattm 2013/01/08 04:53:21 Done.
325 // SSL connection pool and posts to UI thread to run
326 // OnClearedServerBoundCerts.
327 void OnClearedServerBoundCertsOnIOThread(
328 net::URLRequestContextGetter* rq_context);
329
324 // Callback when server bound certs have been deleted. Invokes 330 // Callback when server bound certs have been deleted. Invokes
325 // NotifyAndDeleteIfDone. 331 // NotifyAndDeleteIfDone.
326 void OnClearedServerBoundCerts(); 332 void OnClearedServerBoundCerts();
327 333
328 // Callback on the DB thread so that we can wait for the form data to be 334 // Callback on the DB thread so that we can wait for the form data to be
329 // cleared. 335 // cleared.
330 void FormDataDBThreadHop(); 336 void FormDataDBThreadHop();
331 337
332 // Callback from the above method. 338 // Callback from the above method.
333 void OnClearedFormData(); 339 void OnClearedFormData();
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 416
411 ObserverList<Observer> observer_list_; 417 ObserverList<Observer> observer_list_;
412 418
413 // Used if we need to clear history. 419 // Used if we need to clear history.
414 CancelableTaskTracker history_task_tracker_; 420 CancelableTaskTracker history_task_tracker_;
415 421
416 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); 422 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover);
417 }; 423 };
418 424
419 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ 425 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698