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

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

Issue 7647003: Update routing id of pending resource requests for reparented iframes. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed Copyright that presubmit complains about. Created 9 years, 4 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/resource_loader_bridge.h ('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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // source code is governed by a BSD-style license that can be found in the 2 // Use of this source code is governed by a BSD-style license that can be
3 // 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 10
11 namespace webkit_glue { 11 namespace webkit_glue {
12 12
13 class WebURLLoaderImpl : public WebKit::WebURLLoader { 13 class WebURLLoaderImpl : public WebKit::WebURLLoader {
14 public: 14 public:
15 WebURLLoaderImpl(); 15 WebURLLoaderImpl();
16 virtual ~WebURLLoaderImpl(); 16 virtual ~WebURLLoaderImpl();
17 17
18 // WebURLLoader methods: 18 // WebURLLoader methods:
19 virtual void loadSynchronously( 19 virtual void loadSynchronously(
20 const WebKit::WebURLRequest& request, 20 const WebKit::WebURLRequest& request,
21 WebKit::WebURLResponse& response, 21 WebKit::WebURLResponse& response,
22 WebKit::WebURLError& error, 22 WebKit::WebURLError& error,
23 WebKit::WebData& data); 23 WebKit::WebData& data);
24 virtual void loadAsynchronously( 24 virtual void loadAsynchronously(
25 const WebKit::WebURLRequest& request, 25 const WebKit::WebURLRequest& request,
26 WebKit::WebURLLoaderClient* client); 26 WebKit::WebURLLoaderClient* client);
27 virtual void cancel(); 27 virtual void cancel();
28 virtual void setDefersLoading(bool value); 28 virtual void setDefersLoading(bool value);
29 29
30 void UpdateRoutingId(int new_routing_id);
31
30 private: 32 private:
31 class Context; 33 class Context;
32 scoped_refptr<Context> context_; 34 scoped_refptr<Context> context_;
33 }; 35 };
34 36
35 } // namespace webkit_glue 37 } // namespace webkit_glue
36 38
37 #endif // WEBKIT_GLUE_WEBURLLOADER_IMPL_H_ 39 #endif // WEBKIT_GLUE_WEBURLLOADER_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/resource_loader_bridge.h ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698