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

Unified Diff: chrome/browser/history/history_types.h

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/history_tab_helper.cc ('k') | chrome/browser/history/history_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_types.h
===================================================================
--- chrome/browser/history/history_types.h (revision 105162)
+++ chrome/browser/history/history_types.h (working copy)
@@ -21,7 +21,7 @@
#include "chrome/browser/search_engines/template_url_id.h"
#include "chrome/common/ref_counted_util.h"
#include "chrome/common/thumbnail_score.h"
-#include "content/common/page_transition_types.h"
+#include "content/public/common/page_transition_types.h"
#include "googleurl/src/gurl.h"
namespace history {
@@ -198,7 +198,7 @@
VisitRow(URLID arg_url_id,
base::Time arg_visit_time,
VisitID arg_referring_visit,
- PageTransition::Type arg_transition,
+ content::PageTransition arg_transition,
SegmentID arg_segment_id);
~VisitRow();
@@ -215,7 +215,7 @@
VisitID referring_visit;
// A combination of bits from PageTransition.
- PageTransition::Type transition;
+ content::PageTransition transition;
// The segment id (see visitsegment_database.*).
// If 0, the segment id is null in the table.
@@ -241,7 +241,7 @@
// The basic information associated with a visit (timestamp, type of visit),
// used by HistoryBackend::AddVisits() to create new visits for a URL.
-typedef std::pair<base::Time, PageTransition::Type> VisitInfo;
+typedef std::pair<base::Time, content::PageTransition> VisitInfo;
// Favicons -------------------------------------------------------------------
@@ -578,7 +578,7 @@
int32 arg_page_id,
const GURL& arg_referrer,
const history::RedirectList& arg_redirects,
- PageTransition::Type arg_transition,
+ content::PageTransition arg_transition,
VisitSource arg_source,
bool arg_did_replace_entry);
@@ -594,7 +594,7 @@
GURL referrer;
history::RedirectList redirects;
- PageTransition::Type transition;
+ content::PageTransition transition;
VisitSource visit_source;
bool did_replace_entry;
« no previous file with comments | « chrome/browser/history/history_tab_helper.cc ('k') | chrome/browser/history/history_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698