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

Unified Diff: content/browser/speech/speech_recognition_engine_unittest.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
« no previous file with comments | « content/browser/speech/speech_recognition_engine.cc ('k') | content/test/mock_google_streaming_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/speech/speech_recognition_engine_unittest.cc
diff --git a/content/browser/speech/speech_recognition_engine_unittest.cc b/content/browser/speech/speech_recognition_engine_unittest.cc
index a71e8b837d15aad6cc8e1c2b037353d4ce963e64..f90b7ed558d648133d7df02315eaa3880aa3a693 100644
--- a/content/browser/speech/speech_recognition_engine_unittest.cc
+++ b/content/browser/speech/speech_recognition_engine_unittest.cc
@@ -509,9 +509,8 @@ void SpeechRecognitionEngineTest::ProvideMockProtoResultDownstream(
response_buffer_.append(response_string);
downstream_fetcher->SetResponseString(response_buffer_);
downstream_fetcher->delegate()->OnURLFetchDownloadProgress(
- downstream_fetcher,
- response_buffer_.size(),
- -1 /* total response length not used */);
+ downstream_fetcher, response_buffer_.size(),
+ -1 /* total response length not used */, response_buffer_.size());
}
void SpeechRecognitionEngineTest::ProvideMockResultDownstream(
« no previous file with comments | « content/browser/speech/speech_recognition_engine.cc ('k') | content/test/mock_google_streaming_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698