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

Side by Side Diff: chrome/browser/chromeos/cros/mock_speech_synthesis_library.h

Issue 2770006: Revert 49260 - Broke compile - Added InitTts function to speech synthesis lib... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/speech_synthesis_library.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_
7 7
8 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h" 8 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 10
11 namespace chromeos { 11 namespace chromeos {
12 12
13 class MockSpeechSynthesisLibrary : public SpeechSynthesisLibrary { 13 class MockSpeechSynthesisLibrary : public SpeechSynthesisLibrary {
14 public: 14 public:
15 MockSpeechSynthesisLibrary() {} 15 MockSpeechSynthesisLibrary() {}
16 virtual ~MockSpeechSynthesisLibrary() {} 16 virtual ~MockSpeechSynthesisLibrary() {}
17 MOCK_METHOD1(Speak, bool(const char*)); 17 MOCK_METHOD1(Speak, bool(const char*));
18 MOCK_METHOD1(SetSpeakProperties, bool(const char*)); 18 MOCK_METHOD1(SetSpeakProperties, bool(const char*));
19 MOCK_METHOD0(StopSpeaking, bool(void)); 19 MOCK_METHOD0(StopSpeaking, bool(void));
20 MOCK_METHOD0(IsSpeaking, bool(void)); 20 MOCK_METHOD0(IsSpeaking, bool(void));
21 MOCK_METHOD1(InitTts, void(InitStatusCallback));
22 }; 21 };
23 22
24 } // namespace chromeos 23 } // namespace chromeos
25 24
26 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_ 25 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/speech_synthesis_library.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698