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

Side by Side Diff: content/common/android/surface_texture_bridge.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_COMMON_ANDROID_SURFACE_TEXTURE_BRIDGE_H_ 5 #ifndef CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_BRIDGE_H_
6 #define CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_BRIDGE_H_ 6 #define CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_BRIDGE_H_
7 #pragma once
8 7
9 #include <jni.h> 8 #include <jni.h>
10 9
11 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
12 #include "base/callback.h" 11 #include "base/callback.h"
13 12
14 namespace content { 13 namespace content {
15 14
16 // This class serves as a bridge for native code to call java functions inside 15 // This class serves as a bridge for native code to call java functions inside
17 // android SurfaceTexture class. 16 // android SurfaceTexture class.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // Java SurfaceTexture class and instance. 50 // Java SurfaceTexture class and instance.
52 base::android::ScopedJavaGlobalRef<jclass> j_class_; 51 base::android::ScopedJavaGlobalRef<jclass> j_class_;
53 base::android::ScopedJavaGlobalRef<jobject> j_surface_texture_; 52 base::android::ScopedJavaGlobalRef<jobject> j_surface_texture_;
54 53
55 DISALLOW_COPY_AND_ASSIGN(SurfaceTextureBridge); 54 DISALLOW_COPY_AND_ASSIGN(SurfaceTextureBridge);
56 }; 55 };
57 56
58 } // namespace content 57 } // namespace content
59 58
60 #endif // CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_BRIDGE_H_ 59 #endif // CONTENT_COMMON_ANDROID_SURFACE_TEXTURE_BRIDGE_H_
OLDNEW
« no previous file with comments | « content/common/android/surface_callback.h ('k') | content/common/android/surface_texture_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698