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

Unified Diff: content/browser/speech/speech_input_dispatcher_host.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_dispatcher_host.h
===================================================================
--- content/browser/speech/speech_input_dispatcher_host.h (revision 98061)
+++ content/browser/speech/speech_input_dispatcher_host.h (working copy)
@@ -33,9 +33,9 @@
virtual bool OnMessageReceived(const IPC::Message& message,
bool* message_was_ok);
- // Singleton accessor setter useful for tests.
- static void set_manager_accessor(SpeechInputManager::AccessorMethod* method) {
- manager_accessor_ = method;
+ // Singleton manager setter useful for tests.
+ static void set_manager(SpeechInputManager* manager) {
+ manager_ = manager;
}
private:
@@ -53,7 +53,7 @@
int render_process_id_;
bool may_have_pending_requests_; // Set if we received any speech IPC request
- static SpeechInputManager::AccessorMethod* manager_accessor_;
+ static SpeechInputManager* manager_;
DISALLOW_COPY_AND_ASSIGN(SpeechInputDispatcherHost);
};

Powered by Google App Engine
This is Rietveld 408576698