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

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

Issue 10412050: Change most content::URLFetcher references to net::URLFetcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indent and typo Created 8 years, 7 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/google_one_shot_remote_engine.cc
diff --git a/content/browser/speech/google_one_shot_remote_engine.cc b/content/browser/speech/google_one_shot_remote_engine.cc
index 7d7b237b1e94a1ed236a23558159be3a7bd8865b..6deec30c84772c6009dc12a11fc36608b6ac0136 100644
--- a/content/browser/speech/google_one_shot_remote_engine.cc
+++ b/content/browser/speech/google_one_shot_remote_engine.cc
@@ -11,9 +11,9 @@
#include "base/string_util.h"
#include "base/values.h"
#include "content/browser/speech/audio_buffer.h"
-#include "content/common/net/url_fetcher_impl.h"
#include "content/public/common/speech_recognition_error.h"
#include "content/public/common/speech_recognition_result.h"
+#include "content/public/common/url_fetcher.h"
#include "net/base/escape.h"
#include "net/base/load_flags.h"
#include "net/url_request/url_request_context.h"
@@ -207,10 +207,10 @@ void GoogleOneShotRemoteEngine::StartRecognition() {
config_.audio_sample_rate,
config_.audio_num_bits_per_sample));
DCHECK(encoder_.get());
- url_fetcher_.reset(URLFetcherImpl::Create(url_fetcher_id_for_tests,
- url,
- URLFetcherImpl::POST,
- this));
+ url_fetcher_.reset(content::URLFetcher::Create(url_fetcher_id_for_tests,
+ url,
+ net::URLFetcher::POST,
+ this));
url_fetcher_->SetChunkedUpload(encoder_->mime_type());
url_fetcher_->SetRequestContext(url_context_);
url_fetcher_->SetReferrer(config_.origin_url);

Powered by Google App Engine
This is Rietveld 408576698