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

Unified Diff: chrome/browser/speech/speech_input_dispatcher_host.h

Issue 5711001: Add a new GetInstance() method for remaining files with singleton classes under chrome/browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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: chrome/browser/speech/speech_input_dispatcher_host.h
diff --git a/chrome/browser/speech/speech_input_dispatcher_host.h b/chrome/browser/speech/speech_input_dispatcher_host.h
index 987bd5725caed303fa364bec7a4f27a1eadd977a..38de8359636a47ff90cd0bc72e0fd8d7bf9f0e23 100644
--- a/chrome/browser/speech/speech_input_dispatcher_host.h
+++ b/chrome/browser/speech/speech_input_dispatcher_host.h
@@ -20,6 +20,8 @@ class SpeechInputDispatcherHost
: public base::RefCountedThreadSafe<SpeechInputDispatcherHost>,
public SpeechInputManager::Delegate {
public:
+ class SpeechInputCallers;
+
explicit SpeechInputDispatcherHost(int resource_message_filter_process_id);
// SpeechInputManager::Delegate methods.
@@ -38,7 +40,6 @@ class SpeechInputDispatcherHost
}
private:
- class SpeechInputCallers;
friend class base::RefCountedThreadSafe<SpeechInputDispatcherHost>;
virtual ~SpeechInputDispatcherHost();
@@ -56,7 +57,6 @@ class SpeechInputDispatcherHost
SpeechInputManager* manager();
int resource_message_filter_process_id_;
- SpeechInputCallers* callers_; // weak reference to a singleton.
static SpeechInputManager::AccessorMethod* manager_accessor_;

Powered by Google App Engine
This is Rietveld 408576698