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

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

Issue 7846007: net: Rename URLRequestStatus::os_error_. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix os_error_code Created 9 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_recognizer_unittest.cc
diff --git a/content/browser/speech/speech_recognizer_unittest.cc b/content/browser/speech/speech_recognizer_unittest.cc
index 76133b3db946396c345fc83decc0021bf3ca291b..f2cc6acf487265c2f6e9c61cd8527f0fb42c87dc 100644
--- a/content/browser/speech/speech_recognizer_unittest.cc
+++ b/content/browser/speech/speech_recognizer_unittest.cc
@@ -221,7 +221,7 @@ TEST_F(SpeechRecognizerTest, ConnectionError) {
// Issue the network callback to complete the process.
net::URLRequestStatus status;
status.set_status(net::URLRequestStatus::FAILED);
- status.set_os_error(net::ERR_CONNECTION_REFUSED);
+ status.set_error(net::ERR_CONNECTION_REFUSED);
fetcher->delegate()->OnURLFetchComplete(
fetcher, fetcher->original_url(), status, 0, net::ResponseCookies(), "");
EXPECT_FALSE(recognition_complete_);
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host_unittest.cc ('k') | content/common/common_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698