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

Side by Side Diff: chrome/browser/speech/tts_platform.h

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
« no previous file with comments | « chrome/browser/speech/tts_message_filter.cc ('k') | chrome/browser/speech/tts_win.cc » ('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) 2012 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_SPEECH_TTS_PLATFORM_H_ 5 #ifndef CHROME_BROWSER_SPEECH_TTS_PLATFORM_H_
6 #define CHROME_BROWSER_SPEECH_TTS_PLATFORM_H_ 6 #define CHROME_BROWSER_SPEECH_TTS_PLATFORM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "chrome/browser/speech/tts_controller.h" 11 #include "chrome/browser/speech/tts_controller.h"
11 12
12 // Abstract class that defines the native platform TTS interface, 13 // Abstract class that defines the native platform TTS interface,
13 // subclassed by specific implementations on Win, Mac, etc. 14 // subclassed by specific implementations on Win, Mac, etc.
14 class TtsPlatformImpl { 15 class TtsPlatformImpl {
15 public: 16 public:
16 static TtsPlatformImpl* GetInstance(); 17 static TtsPlatformImpl* GetInstance();
17 18
18 // Returns true if this platform implementation is supported and available. 19 // Returns true if this platform implementation is supported and available.
19 virtual bool PlatformImplAvailable() = 0; 20 virtual bool PlatformImplAvailable() = 0;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // On some platforms this may be a leaky singleton - do not rely on the 73 // On some platforms this may be a leaky singleton - do not rely on the
73 // destructor being called! http://crbug.com/122026 74 // destructor being called! http://crbug.com/122026
74 virtual ~TtsPlatformImpl() {} 75 virtual ~TtsPlatformImpl() {}
75 76
76 std::string error_; 77 std::string error_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(TtsPlatformImpl); 79 DISALLOW_COPY_AND_ASSIGN(TtsPlatformImpl);
79 }; 80 };
80 81
81 #endif // CHROME_BROWSER_SPEECH_TTS_PLATFORM_H_ 82 #endif // CHROME_BROWSER_SPEECH_TTS_PLATFORM_H_
OLDNEW
« no previous file with comments | « chrome/browser/speech/tts_message_filter.cc ('k') | chrome/browser/speech/tts_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698