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

Unified Diff: components/sessions/serialized_navigation_entry.h

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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
« no previous file with comments | « components/sessions/DEPS ('k') | components/sessions/serialized_navigation_entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sessions/serialized_navigation_entry.h
diff --git a/components/sessions/serialized_navigation_entry.h b/components/sessions/serialized_navigation_entry.h
index 0582c7e2d862d564807493a07ecc8a97ef1d71b0..6caee555ba71919449516784ea2faeeb3cfbae69 100644
--- a/components/sessions/serialized_navigation_entry.h
+++ b/components/sessions/serialized_navigation_entry.h
@@ -15,8 +15,8 @@
#include "base/time/time.h"
#include "components/sessions/sessions_export.h"
#include "content/public/common/page_state.h"
-#include "content/public/common/page_transition_types.h"
#include "content/public/common/referrer.h"
+#include "ui/base/page_transition_types.h"
#include "url/gurl.h"
class Pickle;
@@ -102,7 +102,7 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
const GURL& favicon_url() const { return favicon_url_; }
int http_status_code() const { return http_status_code_; }
const content::Referrer& referrer() const { return referrer_; }
- content::PageTransition transition_type() const {
+ ui::PageTransition transition_type() const {
return transition_type_;
}
bool has_post_data() const { return has_post_data_; }
@@ -147,7 +147,7 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
GURL virtual_url_;
base::string16 title_;
content::PageState page_state_;
- content::PageTransition transition_type_;
+ ui::PageTransition transition_type_;
bool has_post_data_;
int64 post_id_;
GURL original_request_url_;
« no previous file with comments | « components/sessions/DEPS ('k') | components/sessions/serialized_navigation_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698