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

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

Issue 20003004: reland crrev.com/212927 Move webkitplatformsupport_impl and related from glue to child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & allocator dep for components_unittests in shared_library2 Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/websocketstreamhandle_impl.cc ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_GLUE_WEBURLLOADER_IMPL_H_
6 #define WEBKIT_GLUE_WEBURLLOADER_IMPL_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "third_party/WebKit/public/platform/WebURLLoader.h"
10 #include "webkit/glue/webkit_glue_export.h"
11
12 namespace webkit_glue {
13
14 class WebKitPlatformSupportImpl;
15
16 class WebURLLoaderImpl : public WebKit::WebURLLoader {
17 public:
18 explicit WebURLLoaderImpl(WebKitPlatformSupportImpl* platform);
19 virtual ~WebURLLoaderImpl();
20
21 static WebKit::WebURLError CreateError(const WebKit::WebURL& unreachable_url,
22 int reason);
23
24 // WebURLLoader methods:
25 virtual void loadSynchronously(
26 const WebKit::WebURLRequest& request,
27 WebKit::WebURLResponse& response,
28 WebKit::WebURLError& error,
29 WebKit::WebData& data);
30 virtual void loadAsynchronously(
31 const WebKit::WebURLRequest& request,
32 WebKit::WebURLLoaderClient* client);
33 virtual void cancel();
34 virtual void setDefersLoading(bool value);
35 virtual void didChangePriority(WebKit::WebURLRequest::Priority new_priority);
36
37 private:
38 class Context;
39 scoped_refptr<Context> context_;
40 WebKitPlatformSupportImpl* platform_;
41 };
42
43 } // namespace webkit_glue
44
45 #endif // WEBKIT_GLUE_WEBURLLOADER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/websocketstreamhandle_impl.cc ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698