Index: chrome/browser/history/history_extension_api.cc |
diff --git a/chrome/browser/history/history_extension_api.cc b/chrome/browser/history/history_extension_api.cc |
index 687c79ef547e17bf93b4fa2e7db8483063f5dda1..7e57f7f03b8db78b76cdff181b3e26c00afabc52 100644 |
--- a/chrome/browser/history/history_extension_api.cc |
+++ b/chrome/browser/history/history_extension_api.cc |
@@ -11,6 +11,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/message_loop.h" |
#include "base/string_number_conversions.h" |
+#include "base/time.h" |
#include "base/utf_string_conversions.h" |
#include "base/values.h" |
#include "chrome/browser/extensions/event_router.h" |
@@ -331,7 +332,7 @@ bool AddUrlHistoryFunction::RunImpl() { |
HistoryService* hs = |
HistoryServiceFactory::GetForProfile(profile(), |
Profile::EXPLICIT_ACCESS); |
- hs->AddPage(url, history::SOURCE_EXTENSION); |
+ hs->AddPage(url, base::Time::Now(), history::SOURCE_EXTENSION); |
SendResponse(true); |
return true; |