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

Side by Side Diff: chrome/browser/chromeos/accessibility/speech_monitor.h

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_ACCESSIBILITY_SPEECH_MONITOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SPEECH_MONITOR_H_
6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SPEECH_MONITOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SPEECH_MONITOR_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
11 #include "chrome/browser/speech/tts_platform.h" 12 #include "chrome/browser/speech/tts_platform.h"
12 #include "content/public/test/test_utils.h" 13 #include "content/public/test/test_utils.h"
13 14
14 namespace chromeos { 15 namespace chromeos {
15 16
16 // For testing purpose installs itself as the platform speech synthesis engine, 17 // For testing purpose installs itself as the platform speech synthesis engine,
17 // allowing it to intercept all speech calls, and then provides a method to 18 // allowing it to intercept all speech calls, and then provides a method to
18 // block until the next utterance is spoken. 19 // block until the next utterance is spoken.
19 class SpeechMonitor : public TtsPlatformImpl { 20 class SpeechMonitor : public TtsPlatformImpl {
(...skipping 29 matching lines...) Expand all
49 private: 50 private:
50 scoped_refptr<content::MessageLoopRunner> loop_runner_; 51 scoped_refptr<content::MessageLoopRunner> loop_runner_;
51 std::deque<std::string> utterance_queue_; 52 std::deque<std::string> utterance_queue_;
52 53
53 DISALLOW_COPY_AND_ASSIGN(SpeechMonitor); 54 DISALLOW_COPY_AND_ASSIGN(SpeechMonitor);
54 }; 55 };
55 56
56 } // namespace chromeos 57 } // namespace chromeos
57 58
58 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SPEECH_MONITOR_H_ 59 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_SPEECH_MONITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698