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

Side by Side Diff: webkit/glue/media/buffered_resource_loader.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 | « content/common/resource_messages.h ('k') | webkit/glue/media/buffered_resource_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) 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_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_ 5 #ifndef WEBKIT_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_
6 #define WEBKIT_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_ 6 #define WEBKIT_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 virtual void didReceiveResponse( 128 virtual void didReceiveResponse(
129 WebKit::WebURLLoader* loader, 129 WebKit::WebURLLoader* loader,
130 const WebKit::WebURLResponse& response); 130 const WebKit::WebURLResponse& response);
131 virtual void didDownloadData( 131 virtual void didDownloadData(
132 WebKit::WebURLLoader* loader, 132 WebKit::WebURLLoader* loader,
133 int data_length); 133 int data_length);
134 virtual void didReceiveData( 134 virtual void didReceiveData(
135 WebKit::WebURLLoader* loader, 135 WebKit::WebURLLoader* loader,
136 const char* data, 136 const char* data,
137 int data_length, 137 int data_length,
138 int length_received); 138 int raw_data_length);
139 virtual void didReceiveCachedMetadata( 139 virtual void didReceiveCachedMetadata(
140 WebKit::WebURLLoader* loader, 140 WebKit::WebURLLoader* loader,
141 const char* data, int dataLength); 141 const char* data, int dataLength);
142 virtual void didFinishLoading( 142 virtual void didFinishLoading(
143 WebKit::WebURLLoader* loader, 143 WebKit::WebURLLoader* loader,
144 double finishTime); 144 double finishTime);
145 virtual void didFail( 145 virtual void didFail(
146 WebKit::WebURLLoader* loader, 146 WebKit::WebURLLoader* loader,
147 const WebKit::WebURLError&); 147 const WebKit::WebURLError&);
148 148
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 // Used to ensure mocks for unittests are used instead of reset in Start(). 258 // Used to ensure mocks for unittests are used instead of reset in Start().
259 bool keep_test_loader_; 259 bool keep_test_loader_;
260 260
261 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader); 261 DISALLOW_COPY_AND_ASSIGN(BufferedResourceLoader);
262 }; 262 };
263 263
264 } // namespace webkit_glue 264 } // namespace webkit_glue
265 265
266 #endif // WEBKIT_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_ 266 #endif // WEBKIT_GLUE_MEDIA_BUFFERED_RESOURCE_LOADER_H_
OLDNEW
« no previous file with comments | « content/common/resource_messages.h ('k') | webkit/glue/media/buffered_resource_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698