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); |