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

Unified Diff: chrome/browser/extensions/activity_log/activity_log_unittest.cc

Issue 23980002: Activity Log: allow searching by day (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed error from last rebase Created 7 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/extensions/activity_log/activity_log_unittest.cc
diff --git a/chrome/browser/extensions/activity_log/activity_log_unittest.cc b/chrome/browser/extensions/activity_log/activity_log_unittest.cc
index 85e7f6e80bd6f614cd868fdd3aa0bfa45d1f5c64..b46cd0c9b913264f29b08e9a346f98cd28111156 100644
--- a/chrome/browser/extensions/activity_log/activity_log_unittest.cc
+++ b/chrome/browser/extensions/activity_log/activity_log_unittest.cc
@@ -135,8 +135,12 @@ TEST_F(ActivityLogTest, LogAndFetchActions) {
action->set_page_url(GURL("http://www.google.com"));
activity_log->LogAction(action);
- activity_log->GetActions(
+ activity_log->GetFilteredActions(
kExtensionId,
+ Action::ACTION_ANY,
+ "",
+ "",
+ "",
0,
base::Bind(ActivityLogTest::RetrieveActions_LogAndFetchActions));
}
@@ -177,8 +181,14 @@ TEST_F(ActivityLogTest, LogPrerender) {
static_cast<TabHelper::ScriptExecutionObserver*>(activity_log)->
OnScriptsExecuted(contents, executing_scripts, 0, url);
- activity_log->GetActions(
- extension->id(), 0, base::Bind(ActivityLogTest::Arguments_Prerender));
+ activity_log->GetFilteredActions(
+ extension->id(),
+ Action::ACTION_ANY,
+ "",
+ "",
+ "",
+ 0,
+ base::Bind(ActivityLogTest::Arguments_Prerender));
prerender_manager->CancelAllPrerenders();
}
« no previous file with comments | « chrome/browser/extensions/activity_log/activity_log_policy.h ('k') | chrome/browser/extensions/activity_log/counting_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698