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

Side by Side Diff: content/public/common/referrer.h

Issue 63253002: Rename WebKit namespace to blink (part 3) (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_COMMON_REFERRER_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_REFERRER_H_
6 #define CONTENT_PUBLIC_COMMON_REFERRER_H_ 6 #define CONTENT_PUBLIC_COMMON_REFERRER_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" 9 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 11
12 namespace content { 12 namespace content {
13 13
14 // This struct holds a referrer URL, as well as the referrer policy to be 14 // This struct holds a referrer URL, as well as the referrer policy to be
15 // applied to this URL. When passing around referrers that will eventually end 15 // applied to this URL. When passing around referrers that will eventually end
16 // up being used for URL requests, always use this struct. 16 // up being used for URL requests, always use this struct.
17 struct CONTENT_EXPORT Referrer { 17 struct CONTENT_EXPORT Referrer {
18 Referrer(const GURL& url, WebKit::WebReferrerPolicy policy) : url(url), 18 Referrer(const GURL& url, blink::WebReferrerPolicy policy) : url(url),
19 policy(policy) { 19 policy(policy) {
20 } 20 }
21 Referrer() : policy(WebKit::WebReferrerPolicyDefault) { 21 Referrer() : policy(blink::WebReferrerPolicyDefault) {
22 } 22 }
23 23
24 GURL url; 24 GURL url;
25 WebKit::WebReferrerPolicy policy; 25 blink::WebReferrerPolicy policy;
26 }; 26 };
27 27
28 } // namespace content 28 } // namespace content
29 29
30 #endif // CONTENT_PUBLIC_COMMON_REFERRER_H_ 30 #endif // CONTENT_PUBLIC_COMMON_REFERRER_H_
OLDNEW
« no previous file with comments | « content/public/common/page_state.cc ('k') | content/public/common/show_desktop_notification_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698