diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-27 17:05:42 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-27 17:05:42 +0000 |
commit | 63fa4b8ca21410e95af38b919852ecacc6fe5388 (patch) | |
tree | 6894d873fc7be498de9e9cc08ddb286e4d8da44e /chrome/browser/extensions/extension_tts_api_linux.cc | |
parent | 41b5727cb69427bde29d01437be36b8f23163722 (diff) | |
download | chromium_src-63fa4b8ca21410e95af38b919852ecacc6fe5388.zip chromium_src-63fa4b8ca21410e95af38b919852ecacc6fe5388.tar.gz chromium_src-63fa4b8ca21410e95af38b919852ecacc6fe5388.tar.bz2 |
Implement the TTS completion callback in a generic way so that the callback
always gets called. Support queueing utterances. Add new extension api tests
to test this logic with mocks.
BUG=none
TEST=Adds new browser tests.
Review URL: http://codereview.chromium.org/3999004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64089 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_tts_api_linux.cc')
-rw-r--r-- | chrome/browser/extensions/extension_tts_api_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_tts_api_linux.cc b/chrome/browser/extensions/extension_tts_api_linux.cc index 8ee228b..7b89799 100644 --- a/chrome/browser/extensions/extension_tts_api_linux.cc +++ b/chrome/browser/extensions/extension_tts_api_linux.cc @@ -38,7 +38,7 @@ class ExtensionTtsPlatformImplLinux : public ExtensionTtsPlatformImpl { // Get the single instance of this class. static ExtensionTtsPlatformImplLinux* GetInstance() { - return ExtensionTtsPlatformImplLinux::GetInstance(); + return Singleton<ExtensionTtsPlatformImplLinux>::get(); } private: |