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

Unified Diff: chrome/browser/ui/webui/bidi_checker_web_ui_test.cc

Issue 10963018: Rework arguments of HistoryService::AddPage() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows compile Created 8 years, 3 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/ui/webui/bidi_checker_web_ui_test.cc
diff --git a/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc b/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc
index 540035319ffba16004d1f7c16b4c4e2e49c70f0a..e40e838f57ab6806dc2fa77d13fc9060ce0ce59a 100644
--- a/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc
+++ b/chrome/browser/ui/webui/bidi_checker_web_ui_test.cc
@@ -9,8 +9,9 @@
#include "base/message_loop.h"
#include "base/path_service.h"
#include "base/synchronization/waitable_event.h"
-#include "base/utf_string_conversions.h"
#include "base/threading/platform_thread.h"
+#include "base/time.h"
+#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/autofill/autofill_common_test.h"
#include "chrome/browser/autofill/autofill_profile.h"
@@ -146,7 +147,8 @@ static void SetupHistoryPageTest(Browser* browser,
HistoryService* history_service = HistoryServiceFactory::GetForProfile(
browser->profile(), Profile::IMPLICIT_ACCESS);
const GURL history_url = GURL(page_url);
- history_service->AddPage(history_url, history::SOURCE_BROWSED);
+ history_service->AddPage(
+ history_url, base::Time::Now(), history::SOURCE_BROWSED);
history_service->SetPageTitle(history_url, UTF8ToUTF16(page_title));
}

Powered by Google App Engine
This is Rietveld 408576698