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

Side by Side Diff: webkit/glue/weburlloader_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/webthread_impl.h ('k') | webkit/glue/weburlrequest_extradata_impl.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_WEBURLLOADER_IMPL_H_ 5 #ifndef WEBKIT_GLUE_WEBURLLOADER_IMPL_H_
6 #define WEBKIT_GLUE_WEBURLLOADER_IMPL_H_ 6 #define WEBKIT_GLUE_WEBURLLOADER_IMPL_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoader.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoader.h"
10 #include "webkit/glue/webkit_glue_export.h"
10 11
11 namespace webkit_glue { 12 namespace webkit_glue {
12 13
13 class WebKitPlatformSupportImpl; 14 class WebKitPlatformSupportImpl;
14 15
15 class WebURLLoaderImpl : public WebKit::WebURLLoader { 16 class WebURLLoaderImpl : public WebKit::WebURLLoader {
16 public: 17 public:
17 explicit WebURLLoaderImpl(WebKitPlatformSupportImpl* platform); 18 explicit WebURLLoaderImpl(WebKitPlatformSupportImpl* platform);
18 virtual ~WebURLLoaderImpl(); 19 virtual ~WebURLLoaderImpl();
19 20
20 // WebURLLoader methods: 21 // WebURLLoader methods:
21 virtual void loadSynchronously( 22 virtual void loadSynchronously(
22 const WebKit::WebURLRequest& request, 23 const WebKit::WebURLRequest& request,
23 WebKit::WebURLResponse& response, 24 WebKit::WebURLResponse& response,
24 WebKit::WebURLError& error, 25 WebKit::WebURLError& error,
25 WebKit::WebData& data); 26 WebKit::WebData& data);
26 virtual void loadAsynchronously( 27 virtual void loadAsynchronously(
27 const WebKit::WebURLRequest& request, 28 const WebKit::WebURLRequest& request,
28 WebKit::WebURLLoaderClient* client); 29 WebKit::WebURLLoaderClient* client);
29 virtual void cancel(); 30 virtual void cancel();
30 virtual void setDefersLoading(bool value); 31 virtual void setDefersLoading(bool value);
31 32
32 void UpdateRoutingId(int new_routing_id); 33 WEBKIT_GLUE_EXPORT void UpdateRoutingId(int new_routing_id);
33 34
34 private: 35 private:
35 class Context; 36 class Context;
36 scoped_refptr<Context> context_; 37 scoped_refptr<Context> context_;
37 WebKitPlatformSupportImpl* platform_; 38 WebKitPlatformSupportImpl* platform_;
38 }; 39 };
39 40
40 } // namespace webkit_glue 41 } // namespace webkit_glue
41 42
42 #endif // WEBKIT_GLUE_WEBURLLOADER_IMPL_H_ 43 #endif // WEBKIT_GLUE_WEBURLLOADER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webthread_impl.h ('k') | webkit/glue/weburlrequest_extradata_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698