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

Side by Side Diff: webkit/glue/plugins/pepper_url_loader.h

Issue 3053009: Pepper stream-to-file plumbing.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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/plugins/pepper_file_ref.cc ('k') | webkit/glue/plugins/pepper_url_loader.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_PLUGINS_PEPPER_URL_LOADER_H_ 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_URL_LOADER_H_
6 #define WEBKIT_GLUE_PLUGINS_PEPPER_URL_LOADER_H_ 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_URL_LOADER_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 // WebKit::WebURLLoaderClient implementation. 43 // WebKit::WebURLLoaderClient implementation.
44 virtual void willSendRequest(WebKit::WebURLLoader* loader, 44 virtual void willSendRequest(WebKit::WebURLLoader* loader,
45 WebKit::WebURLRequest& new_request, 45 WebKit::WebURLRequest& new_request,
46 const WebKit::WebURLResponse& redir_response); 46 const WebKit::WebURLResponse& redir_response);
47 virtual void didSendData(WebKit::WebURLLoader* loader, 47 virtual void didSendData(WebKit::WebURLLoader* loader,
48 unsigned long long bytes_sent, 48 unsigned long long bytes_sent,
49 unsigned long long total_bytes_to_be_sent); 49 unsigned long long total_bytes_to_be_sent);
50 virtual void didReceiveResponse(WebKit::WebURLLoader* loader, 50 virtual void didReceiveResponse(WebKit::WebURLLoader* loader,
51 const WebKit::WebURLResponse& response); 51 const WebKit::WebURLResponse& response);
52 virtual void didDownloadData(WebKit::WebURLLoader* loader,
53 int data_length);
52 virtual void didReceiveData(WebKit::WebURLLoader* loader, 54 virtual void didReceiveData(WebKit::WebURLLoader* loader,
53 const char* data, 55 const char* data,
54 int data_length); 56 int data_length);
55 virtual void didFinishLoading(WebKit::WebURLLoader* loader); 57 virtual void didFinishLoading(WebKit::WebURLLoader* loader);
56 virtual void didFail(WebKit::WebURLLoader* loader, 58 virtual void didFail(WebKit::WebURLLoader* loader,
57 const WebKit::WebURLError& error); 59 const WebKit::WebURLError& error);
58 60
59 URLResponseInfo* response_info() const { return response_info_; } 61 URLResponseInfo* response_info() const { return response_info_; }
60 62
61 // Progress counters. 63 // Progress counters.
(...skipping 18 matching lines...) Expand all
80 int64_t bytes_received_; 82 int64_t bytes_received_;
81 int64_t total_bytes_to_be_received_; 83 int64_t total_bytes_to_be_received_;
82 char* user_buffer_; 84 char* user_buffer_;
83 size_t user_buffer_size_; 85 size_t user_buffer_size_;
84 bool done_; 86 bool done_;
85 }; 87 };
86 88
87 } // namespace pepper 89 } // namespace pepper
88 90
89 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_URL_LOADER_H_ 91 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_URL_LOADER_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_file_ref.cc ('k') | webkit/glue/plugins/pepper_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698