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

Unified Diff: chrome/browser/extensions/api/history/history_api.cc

Issue 18755003: Fix the allHistory flag on chrome.history.onVisitRemoved event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix incorrect direct constructor call. Created 7 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/history/history_api.cc
diff --git a/chrome/browser/extensions/api/history/history_api.cc b/chrome/browser/extensions/api/history/history_api.cc
index e45e94bb5b006eae672187d19045d1e490551d8e..5c09cb25d04ccd97119e81c96e94c7635fdad268 100644
--- a/chrome/browser/extensions/api/history/history_api.cc
+++ b/chrome/browser/extensions/api/history/history_api.cc
@@ -489,8 +489,8 @@ bool HistoryDeleteAllFunction::RunAsyncImpl() {
Profile::EXPLICIT_ACCESS);
hs->ExpireHistoryBetween(
restrict_urls,
- base::Time::UnixEpoch(), // From the beginning of the epoch.
- base::Time::Now(), // To the current time.
+ base::Time(), // Unbounded beginning...
+ base::Time(), // ...and the end.
base::Bind(&HistoryDeleteAllFunction::DeleteComplete,
base::Unretained(this)),
&task_tracker_);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698