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

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

Issue 10392192: Remove content::URLFetcherDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup 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
« no previous file with comments | « content/browser/geolocation/network_location_request.h ('k') | content/common/net/url_fetcher_core.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/speech/google_one_shot_remote_engine.h
diff --git a/content/browser/speech/google_one_shot_remote_engine.h b/content/browser/speech/google_one_shot_remote_engine.h
index ecd927039b04178d283464b21bd9ca9fb880f6c1..09dd1e4e657319b0065becdec87a3eb5aca45647 100644
--- a/content/browser/speech/google_one_shot_remote_engine.h
+++ b/content/browser/speech/google_one_shot_remote_engine.h
@@ -14,13 +14,12 @@
#include "content/browser/speech/audio_encoder.h"
#include "content/browser/speech/speech_recognition_engine.h"
#include "content/common/content_export.h"
-#include "content/public/common/url_fetcher_delegate.h"
#include "googleurl/src/gurl.h"
-
-class URLFetcher;
+#include "net/url_request/url_fetcher_delegate.h"
namespace content {
struct SpeechRecognitionResult;
+class URLFetcher;
}
namespace net {
@@ -35,7 +34,7 @@ class AudioChunk;
// Google speech recognition webservice.
class CONTENT_EXPORT GoogleOneShotRemoteEngine
: public NON_EXPORTED_BASE(SpeechRecognitionEngine),
- public content::URLFetcherDelegate {
+ public net::URLFetcherDelegate {
public:
// Duration of each audio packet.
static const int kAudioPacketIntervalMs;
@@ -54,7 +53,7 @@ class CONTENT_EXPORT GoogleOneShotRemoteEngine
virtual bool IsRecognitionPending() const OVERRIDE;
virtual int GetDesiredAudioChunkDurationMs() const OVERRIDE;
- // content::URLFetcherDelegate methods.
+ // net::URLFetcherDelegate methods.
virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
private:
« no previous file with comments | « content/browser/geolocation/network_location_request.h ('k') | content/common/net/url_fetcher_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698