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

Unified Diff: chrome/browser/browsing_data_remover.cc

Issue 28308: Make history title inclusion safer (createTextNode changes).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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
« no previous file with comments | « chrome/browser/browsing_data_remover.h ('k') | chrome/browser/dom_ui/history_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data_remover.cc
===================================================================
--- chrome/browser/browsing_data_remover.cc (revision 10688)
+++ chrome/browser/browsing_data_remover.cc (working copy)
@@ -34,12 +34,13 @@
BrowsingDataRemover* remover) {
}
+bool BrowsingDataRemover::removing_ = false;
+
BrowsingDataRemover::BrowsingDataRemover(Profile* profile, Time delete_begin,
Time delete_end)
: profile_(profile),
delete_begin_(delete_begin),
delete_end_(delete_end),
- removing_(false),
waiting_for_keywords_(false),
waiting_for_clear_history_(false),
waiting_for_clear_cache_(false) {
@@ -180,6 +181,7 @@
if (!all_done())
return;
+ removing_ = false;
FOR_EACH_OBSERVER(Observer, observer_list_, OnBrowsingDataRemoverDone());
// History requests aren't happy if you delete yourself from the callback.
« no previous file with comments | « chrome/browser/browsing_data_remover.h ('k') | chrome/browser/dom_ui/history_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698