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

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

Issue 8375039: Create a content::UrlFetcher interface that lives in content/public/common and convert users to i... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 9 years, 2 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_request_unittest.cc ('k') | content/common/net/url_fetcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/speech/speech_recognizer_unittest.cc
===================================================================
--- content/browser/speech/speech_recognizer_unittest.cc (revision 107061)
+++ content/browser/speech/speech_recognizer_unittest.cc (working copy)
@@ -176,7 +176,7 @@
TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0);
ASSERT_TRUE(fetcher);
- fetcher->set_url(fetcher->original_url());
+ fetcher->set_url(fetcher->GetOriginalUrl());
net::URLRequestStatus status;
status.set_status(net::URLRequestStatus::SUCCESS);
fetcher->set_status(status);
@@ -230,7 +230,7 @@
EXPECT_EQ(kErrorNone, error_);
// Issue the network callback to complete the process.
- fetcher->set_url(fetcher->original_url());
+ fetcher->set_url(fetcher->GetOriginalUrl());
net::URLRequestStatus status;
status.set_status(net::URLRequestStatus::FAILED);
status.set_error(net::ERR_CONNECTION_REFUSED);
@@ -265,7 +265,7 @@
EXPECT_EQ(kErrorNone, error_);
// Issue the network callback to complete the process.
- fetcher->set_url(fetcher->original_url());
+ fetcher->set_url(fetcher->GetOriginalUrl());
net::URLRequestStatus status;
status.set_status(net::URLRequestStatus::SUCCESS);
fetcher->set_status(status);
« no previous file with comments | « content/browser/speech/speech_recognition_request_unittest.cc ('k') | content/common/net/url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698