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

Unified Diff: webkit/glue/plugins/pepper_url_loader.h

Issue 2842036: Add support for HandleDocumentLoad. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/plugins/pepper_plugin_instance.cc ('k') | webkit/glue/plugins/pepper_url_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_url_loader.h
===================================================================
--- webkit/glue/plugins/pepper_url_loader.h (revision 51230)
+++ webkit/glue/plugins/pepper_url_loader.h (working copy)
@@ -40,20 +40,6 @@
PP_CompletionCallback callback);
void Close();
- URLResponseInfo* response_info() const { return response_info_; }
-
- // Progress counters.
- int64_t bytes_sent() const { return bytes_sent_; }
- int64_t total_bytes_to_be_sent() const { return total_bytes_to_be_sent_; }
- int64_t bytes_received() const { return bytes_received_; }
- int64_t total_bytes_to_be_received() const {
- return total_bytes_to_be_received_;
- }
-
- private:
- void RunCallback(int32_t result);
- size_t FillUserBuffer();
-
// WebKit::WebURLLoaderClient implementation.
virtual void willSendRequest(WebKit::WebURLLoader* loader,
WebKit::WebURLRequest& new_request,
@@ -70,6 +56,20 @@
virtual void didFail(WebKit::WebURLLoader* loader,
const WebKit::WebURLError& error);
+ URLResponseInfo* response_info() const { return response_info_; }
+
+ // Progress counters.
+ int64_t bytes_sent() const { return bytes_sent_; }
+ int64_t total_bytes_to_be_sent() const { return total_bytes_to_be_sent_; }
+ int64_t bytes_received() const { return bytes_received_; }
+ int64_t total_bytes_to_be_received() const {
+ return total_bytes_to_be_received_;
+ }
+
+ private:
+ void RunCallback(int32_t result);
+ size_t FillUserBuffer();
+
scoped_refptr<PluginInstance> instance_;
scoped_ptr<WebKit::WebURLLoader> loader_;
scoped_refptr<URLResponseInfo> response_info_;
« no previous file with comments | « webkit/glue/plugins/pepper_plugin_instance.cc ('k') | webkit/glue/plugins/pepper_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698