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

Side by Side Diff: webkit/plugins/npapi/webplugin_impl.h

Issue 6771043: Enabled actual transfer size in chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment added Created 9 years, 8 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/weburlloader_impl.cc ('k') | webkit/plugins/npapi/webplugin_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. 1 // Copyright (c) 2011 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_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <map> 9 #include <map>
10 #include <vector> 10 #include <vector>
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 virtual void willSendRequest(WebKit::WebURLLoader* loader, 198 virtual void willSendRequest(WebKit::WebURLLoader* loader,
199 WebKit::WebURLRequest& request, 199 WebKit::WebURLRequest& request,
200 const WebKit::WebURLResponse& response); 200 const WebKit::WebURLResponse& response);
201 virtual void didSendData(WebKit::WebURLLoader* loader, 201 virtual void didSendData(WebKit::WebURLLoader* loader,
202 unsigned long long bytes_sent, 202 unsigned long long bytes_sent,
203 unsigned long long total_bytes_to_be_sent); 203 unsigned long long total_bytes_to_be_sent);
204 virtual void didReceiveResponse(WebKit::WebURLLoader* loader, 204 virtual void didReceiveResponse(WebKit::WebURLLoader* loader,
205 const WebKit::WebURLResponse& response); 205 const WebKit::WebURLResponse& response);
206 206
207 virtual void didReceiveData(WebKit::WebURLLoader* loader, const char *buffer, 207 virtual void didReceiveData(WebKit::WebURLLoader* loader, const char *buffer,
208 int data_length, int length_received); 208 int data_length, int raw_data_length);
209 virtual void didFinishLoading(WebKit::WebURLLoader* loader, 209 virtual void didFinishLoading(WebKit::WebURLLoader* loader,
210 double finishTime); 210 double finishTime);
211 virtual void didFail(WebKit::WebURLLoader* loader, 211 virtual void didFail(WebKit::WebURLLoader* loader,
212 const WebKit::WebURLError& error); 212 const WebKit::WebURLError& error);
213 213
214 // Helper function to remove the stored information about a resource 214 // Helper function to remove the stored information about a resource
215 // request given its index in m_clients. 215 // request given its index in m_clients.
216 void RemoveClient(size_t i); 216 void RemoveClient(size_t i);
217 217
218 // Helper function to remove the stored information about a resource 218 // Helper function to remove the stored information about a resource
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 320
321 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; 321 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_;
322 322
323 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); 323 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl);
324 }; 324 };
325 325
326 } // namespace npapi 326 } // namespace npapi
327 } // namespace webkit 327 } // namespace webkit
328 328
329 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ 329 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/weburlloader_impl.cc ('k') | webkit/plugins/npapi/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698