| Index: chrome/browser/ui/app_list/start_page_service.h
|
| diff --git a/chrome/browser/ui/app_list/start_page_service.h b/chrome/browser/ui/app_list/start_page_service.h
|
| index bd219675c0f63f6c08497daca4d86128f01a086e..d1be3e7665e42dd6f35c04a4fbce62e7a5673e0e 100644
|
| --- a/chrome/browser/ui/app_list/start_page_service.h
|
| +++ b/chrome/browser/ui/app_list/start_page_service.h
|
| @@ -48,13 +48,13 @@ class StartPageService : public BrowserContextKeyedService {
|
|
|
| RecommendedApps* recommended_apps() { return recommended_apps_.get(); }
|
| Profile* profile() { return profile_; }
|
| + SpeechRecognitionState state() { return state_; }
|
| void OnSpeechResult(const base::string16& query, bool is_final);
|
| void OnSpeechSoundLevelChanged(int16 level);
|
| void OnSpeechRecognitionStateChanged(SpeechRecognitionState new_state);
|
|
|
| private:
|
| - // A BrowserContextKeyedServiceFactory for this service.
|
| - class Factory;
|
| + friend class StartPageServiceFactory;
|
|
|
| // ProfileDestroyObserver to shutdown the service on exiting. WebContents
|
| // depends on the profile and needs to be closed before the profile and its
|
| @@ -76,6 +76,7 @@ class StartPageService : public BrowserContextKeyedService {
|
| scoped_ptr<StartPageWebContentsDelegate> contents_delegate_;
|
| scoped_ptr<ProfileDestroyObserver> profile_destroy_observer_;
|
| scoped_ptr<RecommendedApps> recommended_apps_;
|
| + SpeechRecognitionState state_;
|
| ObserverList<StartPageObserver> observers_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(StartPageService);
|
|
|