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

Side by Side Diff: trunk/src/webkit/child/weburlloader_impl.h

Issue 19888003: Revert 212927 "Move webkitplatformsupport_impl and related from ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
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_CHILD_WEBURLLOADER_IMPL_H_
6 #define WEBKIT_CHILD_WEBURLLOADER_IMPL_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "third_party/WebKit/public/platform/WebURLLoader.h"
10
11 namespace webkit_glue {
12
13 class WebKitPlatformSupportImpl;
14
15 class WebURLLoaderImpl : public WebKit::WebURLLoader {
16 public:
17 explicit WebURLLoaderImpl(WebKitPlatformSupportImpl* platform);
18 virtual ~WebURLLoaderImpl();
19
20 static WebKit::WebURLError CreateError(const WebKit::WebURL& unreachable_url,
21 int reason);
22
23 // WebURLLoader methods:
24 virtual void loadSynchronously(
25 const WebKit::WebURLRequest& request,
26 WebKit::WebURLResponse& response,
27 WebKit::WebURLError& error,
28 WebKit::WebData& data);
29 virtual void loadAsynchronously(
30 const WebKit::WebURLRequest& request,
31 WebKit::WebURLLoaderClient* client);
32 virtual void cancel();
33 virtual void setDefersLoading(bool value);
34 virtual void didChangePriority(WebKit::WebURLRequest::Priority new_priority);
35
36 private:
37 class Context;
38 scoped_refptr<Context> context_;
39 WebKitPlatformSupportImpl* platform_;
40 };
41
42 } // namespace webkit_glue
43
44 #endif // WEBKIT_CHILD_WEBURLLOADER_IMPL_H_
OLDNEW
« no previous file with comments | « trunk/src/webkit/child/websocketstreamhandle_impl.cc ('k') | trunk/src/webkit/child/weburlloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698