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

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

Issue 8334018: Move the code in libcros' chromeos_speech_synthesis.cc into Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed ScopedRunnableMethodFactory Created 9 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_
7 #pragma once
8
9 #include "chrome/browser/chromeos/cros/speech_synthesis_library.h"
10 #include "testing/gmock/include/gmock/gmock.h"
11
12 namespace chromeos {
13
14 class MockSpeechSynthesisLibrary : public SpeechSynthesisLibrary {
15 public:
16 MockSpeechSynthesisLibrary();
17 virtual ~MockSpeechSynthesisLibrary();
18
19 MOCK_METHOD1(Speak, bool(const char*));
20 MOCK_METHOD1(SetSpeakProperties, bool(const char*));
21 MOCK_METHOD0(StopSpeaking, bool(void));
22 MOCK_METHOD0(IsSpeaking, bool(void));
23 MOCK_METHOD1(InitTts, void(InitStatusCallback));
24 };
25
26 } // namespace chromeos
27
28 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_SPEECH_SYNTHESIS_LIBRARY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/cros_mock.cc ('k') | chrome/browser/chromeos/cros/mock_speech_synthesis_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698