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

Side by Side Diff: webkit/glue/weburlrequest_extradata_impl.h

Issue 8741006: Add exports needed for glue to build as a component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to r112585 Created 9 years 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
« no previous file with comments | « webkit/glue/weburlloader_impl.h ('k') | webkit/glue/window_open_disposition.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 WEBKIT_GLUE_WEBURLREQUEST_EXTRADATA_IMPL_H_ 5 #ifndef WEBKIT_GLUE_WEBURLREQUEST_EXTRADATA_IMPL_H_
6 #define WEBKIT_GLUE_WEBURLREQUEST_EXTRADATA_IMPL_H_ 6 #define WEBKIT_GLUE_WEBURLREQUEST_EXTRADATA_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebReferrerPolicy.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebReferrerPolicy.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h"
12 #include "webkit/glue/webkit_glue_export.h"
12 13
13 namespace webkit_glue { 14 namespace webkit_glue {
14 15
15 // Base class for Chrome's implementation of the "extra data" stored in each 16 // Base class for Chrome's implementation of the "extra data" stored in each
16 // ResourceRequest. 17 // ResourceRequest.
17 class WebURLRequestExtraDataImpl : public WebKit::WebURLRequest::ExtraData { 18 class WEBKIT_GLUE_EXPORT WebURLRequestExtraDataImpl :
19 NON_EXPORTED_BASE(public WebKit::WebURLRequest::ExtraData) {
18 public: 20 public:
19 WebURLRequestExtraDataImpl(WebKit::WebReferrerPolicy referrer_policy); 21 WebURLRequestExtraDataImpl(WebKit::WebReferrerPolicy referrer_policy);
20 virtual ~WebURLRequestExtraDataImpl(); 22 virtual ~WebURLRequestExtraDataImpl();
21 23
22 WebKit::WebReferrerPolicy referrer_policy() const { return referrer_policy_; } 24 WebKit::WebReferrerPolicy referrer_policy() const { return referrer_policy_; }
23 25
24 private: 26 private:
25 WebKit::WebReferrerPolicy referrer_policy_; 27 WebKit::WebReferrerPolicy referrer_policy_;
26 28
27 DISALLOW_COPY_AND_ASSIGN(WebURLRequestExtraDataImpl); 29 DISALLOW_COPY_AND_ASSIGN(WebURLRequestExtraDataImpl);
28 }; 30 };
29 31
30 } // namespace webkit_glue 32 } // namespace webkit_glue
31 33
32 #endif // WEBKIT_GLUE_WEBURLREQUEST_EXTRADATA_IMPL_H_ 34 #endif // WEBKIT_GLUE_WEBURLREQUEST_EXTRADATA_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/weburlloader_impl.h ('k') | webkit/glue/window_open_disposition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698