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

Unified Diff: chrome/browser/history/text_database_manager_unittest.cc

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « chrome/browser/history/in_memory_history_backend.cc ('k') | chrome/browser/history/top_sites_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/text_database_manager_unittest.cc
===================================================================
--- chrome/browser/history/text_database_manager_unittest.cc (revision 105162)
+++ chrome/browser/history/text_database_manager_unittest.cc (working copy)
@@ -76,7 +76,7 @@
visit_row.url_id = 1;
visit_row.visit_time = Time::FromUTCExploded(exploded);
visit_row.referring_visit = 0;
- visit_row.transition = 0;
+ visit_row.transition = content::PageTransitionFromInt(0);
visit_row.segment_id = 0;
visit_row.is_indexed = false;
visit_db->AddVisit(&visit_row, SOURCE_BROWSED);
@@ -239,7 +239,7 @@
visit.url_id = 1;
visit.visit_time = Time::Now();
visit.referring_visit = 0;
- visit.transition = PageTransition::LINK;
+ visit.transition = content::PAGE_TRANSITION_LINK;
visit.segment_id = 0;
visit.is_indexed = false;
visit_db.AddVisit(&visit, SOURCE_BROWSED);
« no previous file with comments | « chrome/browser/history/in_memory_history_backend.cc ('k') | chrome/browser/history/top_sites_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698