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

Side by Side Diff: content/public/browser/speech_recognition_manager_delegate.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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) 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 CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
12 #include "content/public/common/speech_recognition_error.h" 11 #include "content/public/common/speech_recognition_error.h"
13 12
14 namespace content { 13 namespace content {
15 14
16 class SpeechRecognitionEventListener; 15 class SpeechRecognitionEventListener;
17 struct SpeechRecognitionResult; 16 struct SpeechRecognitionResult;
(...skipping 14 matching lines...) Expand all
32 base::Callback<void(int session_id, bool is_allowed)> callback) = 0; 31 base::Callback<void(int session_id, bool is_allowed)> callback) = 0;
33 32
34 // Checks whether the delegate is interested (returning a non NULL ptr) or not 33 // Checks whether the delegate is interested (returning a non NULL ptr) or not
35 // (returning NULL) in receiving a copy of all sessions events. 34 // (returning NULL) in receiving a copy of all sessions events.
36 virtual SpeechRecognitionEventListener* GetEventListener() = 0; 35 virtual SpeechRecognitionEventListener* GetEventListener() = 0;
37 }; 36 };
38 37
39 } // namespace content 38 } // namespace content
40 39
41 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_ 40 #endif // CONTENT_PUBLIC_BROWSER_SPEECH_RECOGNITION_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/speech_recognition_manager.h ('k') | content/public/browser/speech_recognition_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698