OLD | NEW |
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 COMPONENTS_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ |
6 #define COMPONENTS_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "third_party/WebKit/public/web/WebSpeechRecognizer.h" | 13 #include "third_party/WebKit/public/web/WebSpeechRecognizer.h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 class WebSpeechRecognitionHandle; | 16 class WebSpeechRecognitionHandle; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 WebTestDelegate* delegate_; | 86 WebTestDelegate* delegate_; |
87 | 87 |
88 base::WeakPtrFactory<MockWebSpeechRecognizer> weak_factory_; | 88 base::WeakPtrFactory<MockWebSpeechRecognizer> weak_factory_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(MockWebSpeechRecognizer); | 90 DISALLOW_COPY_AND_ASSIGN(MockWebSpeechRecognizer); |
91 }; | 91 }; |
92 | 92 |
93 } // namespace test_runner | 93 } // namespace test_runner |
94 | 94 |
95 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ | 95 #endif // CONTENT_SHELL_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ |
OLD | NEW |