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

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

Issue 7729001: Get rid of link dependency from content to chrome. Make it get the SpeechInputManager through the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/speech_input_manager.h
===================================================================
--- content/browser/speech/speech_input_manager.h (revision 98061)
+++ content/browser/speech/speech_input_manager.h (working copy)
@@ -31,21 +31,14 @@
virtual ~Delegate() {}
};
- SpeechInputManager() : censor_results_(true) {}
+ SpeechInputManager();
// Invokes the platform provided microphone settings UI in a non-blocking way,
// via the BrowserThread::FILE thread.
static void ShowAudioInputSettings();
- // Factory method to access the singleton. We have this method here instead of
- // using Singleton directly in the calling code to aid tests in injection
- // mocks.
- static SpeechInputManager* Get();
- // Factory method definition useful for tests.
- typedef SpeechInputManager* (AccessorMethod)();
+ virtual ~SpeechInputManager();
- virtual ~SpeechInputManager() {}
-
// Handlers for requests from render views.
// |delegate| is a weak pointer and should remain valid until
@@ -70,6 +63,7 @@
void set_censor_results(bool censor) { censor_results_ = censor; }
bool censor_results() { return censor_results_; }
+
private:
bool censor_results_;
};

Powered by Google App Engine
This is Rietveld 408576698