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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover.h

Issue 10866013: Convert the browsing_data pyauto tests to chrome tests. Remove the ClearBrowsingData automation cod… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix hang on mac Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/browsing_data/browsing_data_remover.h
===================================================================
--- chrome/browser/browsing_data/browsing_data_remover.h (revision 152704)
+++ chrome/browser/browsing_data/browsing_data_remover.h (working copy)
@@ -279,6 +279,13 @@
// NotifyAndDeleteIfDone.
void OnClearedServerBoundCerts();
+ // Callback on the DB thread so that we can wait for the form data to be
+ // cleared.
+ void FormDataDBThreadHop();
+
+ // Callback from the above method.
+ void OnClearedFormData();
+
// Calculate the begin time for the deletion range specified by |time_period|.
base::Time CalculateBeginDeleteTime(TimePeriod time_period);
@@ -341,6 +348,7 @@
bool waiting_for_clear_plugin_data_;
bool waiting_for_clear_quota_managed_data_;
bool waiting_for_clear_content_licenses_;
+ bool waiting_for_clear_form_;
// Tracking how many origins need to be deleted, and whether we're finished
// gathering origins.
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/browsing_data/browsing_data_remover.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698