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

Side by Side Diff: content/browser/speech/speech_recognition_request.h

Issue 6672057: Move all the message files in chrome that belong in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
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/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "chrome/common/net/url_fetcher.h" 14 #include "chrome/common/net/url_fetcher.h"
15 #include "chrome/common/speech_input_result.h" 15 #include "content/common/speech_input_result.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 17
18 class URLFetcher; 18 class URLFetcher;
19 class URLRequestContextGetter; 19 class URLRequestContextGetter;
20 20
21 namespace speech_input { 21 namespace speech_input {
22 22
23 // Provides a simple interface for sending recorded speech data to the server 23 // Provides a simple interface for sending recorded speech data to the server
24 // and get back recognition results. 24 // and get back recognition results.
25 class SpeechRecognitionRequest : public URLFetcher::Delegate { 25 class SpeechRecognitionRequest : public URLFetcher::Delegate {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 // This typedef is to workaround the issue with certain versions of 76 // This typedef is to workaround the issue with certain versions of
77 // Visual Studio where it gets confused between multiple Delegate 77 // Visual Studio where it gets confused between multiple Delegate
78 // classes and gives a C2500 error. (I saw this error on the try bots - 78 // classes and gives a C2500 error. (I saw this error on the try bots -
79 // the workaround was not needed for my machine). 79 // the workaround was not needed for my machine).
80 typedef SpeechRecognitionRequest::Delegate SpeechRecognitionRequestDelegate; 80 typedef SpeechRecognitionRequest::Delegate SpeechRecognitionRequestDelegate;
81 81
82 } // namespace speech_input 82 } // namespace speech_input
83 83
84 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_REQUEST_H_ 84 #endif // CONTENT_BROWSER_SPEECH_SPEECH_RECOGNITION_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698