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

Side by Side Diff: chrome/browser/speech/extension_api/tts_extension_api_platform.h

Issue 9808024: Move TTS extension API to chrome/browser/speech/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chromeos compile error, rebase Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_PLATFORM_H_ 5 #ifndef CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_EXTENSION_API_PLATFORM_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_PLATFORM_H_ 6 #define CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_EXTENSION_API_PLATFORM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/extensions/extension_tts_api_controller.h" 10 #include "chrome/browser/speech/extension_api/tts_extension_api_controller.h"
11 11
12 // Abstract class that defines the native platform TTS interface, 12 // Abstract class that defines the native platform TTS interface,
13 // subclassed by specific implementations on Win, Mac, etc. 13 // subclassed by specific implementations on Win, Mac, etc.
14 class ExtensionTtsPlatformImpl { 14 class ExtensionTtsPlatformImpl {
15 public: 15 public:
16 static ExtensionTtsPlatformImpl* GetInstance(); 16 static ExtensionTtsPlatformImpl* GetInstance();
17 17
18 // Returns true if this platform implementation is supported and available. 18 // Returns true if this platform implementation is supported and available.
19 virtual bool PlatformImplAvailable() = 0; 19 virtual bool PlatformImplAvailable() = 0;
20 20
(...skipping 28 matching lines...) Expand all
49 49
50 protected: 50 protected:
51 ExtensionTtsPlatformImpl() {} 51 ExtensionTtsPlatformImpl() {}
52 virtual ~ExtensionTtsPlatformImpl() {} 52 virtual ~ExtensionTtsPlatformImpl() {}
53 53
54 std::string error_; 54 std::string error_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(ExtensionTtsPlatformImpl); 56 DISALLOW_COPY_AND_ASSIGN(ExtensionTtsPlatformImpl);
57 }; 57 };
58 58
59 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_PLATFORM_H_ 59 #endif // CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_EXTENSION_API_PLATFORM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698