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

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

Issue 15520002: Moved DOMActionType information from extras into a real field (ActivityLog) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added prefix Created 7 years, 7 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 | chrome/browser/extensions/activity_log/activity_log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/activity_log/activity_database_unittest.cc
diff --git a/chrome/browser/extensions/activity_log/activity_database_unittest.cc b/chrome/browser/extensions/activity_log/activity_database_unittest.cc
index 4006d6ee93f18949dd44ec0b46c53d1948ce08af..6123b2024f16501a810ae840bbb7e05da2175c37 100644
--- a/chrome/browser/extensions/activity_log/activity_database_unittest.cc
+++ b/chrome/browser/extensions/activity_log/activity_database_unittest.cc
@@ -18,6 +18,7 @@
#include "chrome/browser/extensions/test_extension_system.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_switches.h"
+#include "chrome/common/extensions/dom_action_types.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/browser/web_contents.h"
@@ -200,7 +201,7 @@ TEST_F(ActivityDatabaseTest, GetTodaysActions) {
scoped_refptr<DOMAction> dom_action = new DOMAction(
"punky",
mock_clock.Now(),
- DOMAction::MODIFIED,
+ DomActionType::MODIFIED,
GURL("http://www.google.com"),
string16(),
"lets",
@@ -209,7 +210,7 @@ TEST_F(ActivityDatabaseTest, GetTodaysActions) {
scoped_refptr<DOMAction> extra_dom_action = new DOMAction(
"scoobydoo",
mock_clock.Now(),
- DOMAction::MODIFIED,
+ DomActionType::MODIFIED,
GURL("http://www.google.com"),
string16(),
"lets",
@@ -261,7 +262,7 @@ TEST_F(ActivityDatabaseTest, GetOlderActions) {
scoped_refptr<DOMAction> dom_action = new DOMAction(
"punky",
mock_clock.Now() - base::TimeDelta::FromDays(3),
- DOMAction::MODIFIED,
+ DomActionType::MODIFIED,
GURL("http://www.google.com"),
string16(),
"lets",
@@ -270,7 +271,7 @@ TEST_F(ActivityDatabaseTest, GetOlderActions) {
scoped_refptr<DOMAction> toonew_dom_action = new DOMAction(
"punky",
mock_clock.Now(),
- DOMAction::MODIFIED,
+ DomActionType::MODIFIED,
GURL("http://www.google.com"),
string16(),
"too new",
@@ -279,7 +280,7 @@ TEST_F(ActivityDatabaseTest, GetOlderActions) {
scoped_refptr<DOMAction> tooold_dom_action = new DOMAction(
"punky",
mock_clock.Now() - base::TimeDelta::FromDays(7),
- DOMAction::MODIFIED,
+ DomActionType::MODIFIED,
GURL("http://www.google.com"),
string16(),
"too old",
« no previous file with comments | « no previous file | chrome/browser/extensions/activity_log/activity_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698