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

Unified Diff: components/sessions/serialized_navigation_entry.cc

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: components/sessions/serialized_navigation_entry.cc
diff --git a/components/sessions/serialized_navigation_entry.cc b/components/sessions/serialized_navigation_entry.cc
index 0fc6ff184b3ab5dfc9fc154408ca609ca4fd7210..be00bd72cae6320568e1b6895ee6159ae6fdc881 100644
--- a/components/sessions/serialized_navigation_entry.cc
+++ b/components/sessions/serialized_navigation_entry.cc
@@ -67,7 +67,7 @@ SerializedNavigationEntry SerializedNavigationEntry::FromSyncData(
navigation.unique_id_ = sync_data.unique_id();
navigation.referrer_ =
content::Referrer(GURL(sync_data.referrer()),
- WebKit::WebReferrerPolicyDefault);
+ blink::WebReferrerPolicyDefault);
navigation.virtual_url_ = GURL(sync_data.virtual_url());
navigation.title_ = UTF8ToUTF16(sync_data.title());
navigation.page_state_ =
@@ -293,11 +293,11 @@ bool SerializedNavigationEntry::ReadFromPickle(PickleIterator* iterator) {
// The "referrer policy" property was added even later, so we fall back to
// the default policy if the property is not present.
int policy_int;
- WebKit::WebReferrerPolicy policy;
+ blink::WebReferrerPolicy policy;
if (iterator->ReadInt(&policy_int))
- policy = static_cast<WebKit::WebReferrerPolicy>(policy_int);
+ policy = static_cast<blink::WebReferrerPolicy>(policy_int);
else
- policy = WebKit::WebReferrerPolicyDefault;
+ policy = blink::WebReferrerPolicyDefault;
referrer_ = content::Referrer(GURL(referrer_spec), policy);
// If the original URL can't be found, leave it empty.
« no previous file with comments | « components/plugins/renderer/webview_plugin.cc ('k') | components/sessions/serialized_navigation_entry_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698