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

Side by Side Diff: content/common/android/surface_callback.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
« no previous file with comments | « content/common/android/device_info.h ('k') | content/common/android/surface_texture_bridge.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_COMMON_ANDROID_SURFACE_CALLBACK_H_ 5 #ifndef CONTENT_COMMON_ANDROID_SURFACE_CALLBACK_H_
6 #define CONTENT_COMMON_ANDROID_SURFACE_CALLBACK_H_ 6 #define CONTENT_COMMON_ANDROID_SURFACE_CALLBACK_H_
7 #pragma once
8 7
9 #include <jni.h> 8 #include <jni.h>
10 9
11 #include "base/callback.h" 10 #include "base/callback.h"
12 #include "content/common/android/surface_texture_peer.h" 11 #include "content/common/android/surface_texture_peer.h"
13 12
14 struct ANativeWindow; 13 struct ANativeWindow;
15 14
16 namespace base { 15 namespace base {
17 class MessageLoopProxy; 16 class MessageLoopProxy;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 49
51 typedef base::Callback<void(int, int, jobject surface)> VideoSurfaceCallback; 50 typedef base::Callback<void(int, int, jobject surface)> VideoSurfaceCallback;
52 void RegisterVideoSurfaceCallback(base::MessageLoopProxy* loop, 51 void RegisterVideoSurfaceCallback(base::MessageLoopProxy* loop,
53 VideoSurfaceCallback& callback); 52 VideoSurfaceCallback& callback);
54 53
55 bool RegisterSurfaceCallback(JNIEnv* env); 54 bool RegisterSurfaceCallback(JNIEnv* env);
56 55
57 } // namespace content 56 } // namespace content
58 57
59 #endif // CONTENT_COMMON_ANDROID_SURFACE_CALLBACK_H_ 58 #endif // CONTENT_COMMON_ANDROID_SURFACE_CALLBACK_H_
OLDNEW
« no previous file with comments | « content/common/android/device_info.h ('k') | content/common/android/surface_texture_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698