OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_REQUEST_H_ | 5 #ifndef CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_REQUEST_H_ |
6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_REQUEST_H_ | 6 #define CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_REQUEST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "chrome/common/net/url_fetcher.h" | |
15 #include "content/common/speech_input_result.h" | 14 #include "content/common/speech_input_result.h" |
| 15 #include "content/common/url_fetcher.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
17 | 17 |
18 class URLFetcher; | 18 class URLFetcher; |
19 | 19 |
20 namespace net { | 20 namespace net { |
21 class URLRequestContextGetter; | 21 class URLRequestContextGetter; |
22 } | 22 } |
23 | 23 |
24 namespace speech_input { | 24 namespace speech_input { |
25 | 25 |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 78 |
79 // This typedef is to workaround the issue with certain versions of | 79 // This typedef is to workaround the issue with certain versions of |
80 // Visual Studio where it gets confused between multiple Delegate | 80 // Visual Studio where it gets confused between multiple Delegate |
81 // classes and gives a C2500 error. (I saw this error on the try bots - | 81 // classes and gives a C2500 error. (I saw this error on the try bots - |
82 // the workaround was not needed for my machine). | 82 // the workaround was not needed for my machine). |
83 typedef SpeechRecognitionRequest::Delegate SpeechRecognitionRequestDelegate; | 83 typedef SpeechRecognitionRequest::Delegate SpeechRecognitionRequestDelegate; |
84 | 84 |
85 } // namespace speech_input | 85 } // namespace speech_input |
86 | 86 |
87 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_REQUEST_H_ | 87 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_REQUEST_H_ |
OLD | NEW |