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

Unified Diff: content/browser/speech/speech_recognition_engine.cc

Issue 2303653002: Precache per-resource cap should be applied on network bytes used (Closed)
Patch Set: rebased Created 4 years, 3 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
Index: content/browser/speech/speech_recognition_engine.cc
diff --git a/content/browser/speech/speech_recognition_engine.cc b/content/browser/speech/speech_recognition_engine.cc
index 071e655c5d0bbb5e2f862c79b8f6bc5ca4a371fa..efa13f470e73e6a26b8280ea2410f66c53d2ab26 100644
--- a/content/browser/speech/speech_recognition_engine.cc
+++ b/content/browser/speech/speech_recognition_engine.cc
@@ -136,7 +136,8 @@ void SpeechRecognitionEngine::OnURLFetchComplete(const URLFetcher* source) {
void SpeechRecognitionEngine::OnURLFetchDownloadProgress(
const URLFetcher* source,
int64_t current,
- int64_t total) {
+ int64_t total,
+ int64_t current_network_bytes) {
const bool kPartialResponse = false;
DispatchHTTPResponse(source, kPartialResponse);
}
« no previous file with comments | « content/browser/speech/speech_recognition_engine.h ('k') | content/browser/speech/speech_recognition_engine_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698