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

Unified Diff: chrome/browser/ui/webui/options2/clear_browser_data_handler.cc

Issue 10830210: Fix crbug.com/140910 (BrowsingDataRemover not working). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More places fixed, added DCHECK and conversion to BrowsingDataRemover. 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
« no previous file with comments | « chrome/browser/ui/webui/net_internals/net_internals_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options2/clear_browser_data_handler.cc
diff --git a/chrome/browser/ui/webui/options2/clear_browser_data_handler.cc b/chrome/browser/ui/webui/options2/clear_browser_data_handler.cc
index 332261a03c06f869758d1110784423fd6b9a0071..36c2d55be51ae423fb40fe77b53c7f7f93c2391d 100644
--- a/chrome/browser/ui/webui/options2/clear_browser_data_handler.cc
+++ b/chrome/browser/ui/webui/options2/clear_browser_data_handler.cc
@@ -146,7 +146,7 @@ void ClearBrowserDataHandler::HandleClearBrowserData(const ListValue* value) {
int period_selected = prefs->GetInteger(prefs::kDeleteTimePeriod);
remover_ = new BrowsingDataRemover(profile,
static_cast<BrowsingDataRemover::TimePeriod>(period_selected),
- base::Time());
+ base::Time::Now());
remover_->AddObserver(this);
remover_->Remove(remove_mask, origin_mask);
}
« no previous file with comments | « chrome/browser/ui/webui/net_internals/net_internals_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698