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

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

Issue 9390007: Move SpeechRecognizer delegate into its own header file and put it in the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jam review - update interface comment Created 8 years, 10 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_recognizer.cc ('k') | content/content_browser.gypi » ('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
diff --git a/content/browser/speech/speech_recognizer_unittest.cc b/content/browser/speech/speech_recognizer_unittest.cc
index 6dcaec6c7007645274cbe3577d01f9ee8086a550..cb4ff3ba29bd5e6ccbd35964b80a627ca9a8ca94 100644
--- a/content/browser/speech/speech_recognizer_unittest.cc
+++ b/content/browser/speech/speech_recognizer_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,6 +6,7 @@
#include "content/browser/browser_thread_impl.h"
#include "content/browser/speech/speech_recognizer.h"
+#include "content/public/browser/speech_recognizer_delegate.h"
#include "content/test/test_url_fetcher_factory.h"
#include "media/audio/audio_manager.h"
#include "media/audio/test_audio_input_controller_factory.h"
@@ -21,7 +22,7 @@ using media::TestAudioInputControllerFactory;
namespace speech_input {
-class SpeechRecognizerTest : public SpeechRecognizerDelegate,
+class SpeechRecognizerTest : public content::SpeechRecognizerDelegate,
public testing::Test {
public:
SpeechRecognizerTest()
@@ -44,7 +45,7 @@ class SpeechRecognizerTest : public SpeechRecognizerDelegate,
audio_packet_.resize(audio_packet_length_bytes);
}
- // SpeechRecognizer::Delegate methods.
+ // Overridden from content::SpeechRecognizerDelegate:
virtual void SetRecognitionResult(
int caller_id,
const content::SpeechInputResult& result) OVERRIDE {
« no previous file with comments | « content/browser/speech/speech_recognizer.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698