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

Side by Side Diff: content/app/android/sandboxed_process_service.cc

Issue 10798010: Uses gyp "rules" rather than "actions" templates for the JNI generator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo on content_jni.gypi 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/app/android/library_loader_hooks.cc ('k') | content/app/android/user_agent.cc » ('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 #include "content/app/android/sandboxed_process_service.h" 5 #include "content/app/android/sandboxed_process_service.h"
6 6
7 #include "base/android/jni_array.h" 7 #include "base/android/jni_array.h"
8 #include "base/global_descriptors_posix.h" 8 #include "base/global_descriptors_posix.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "content/common/android/surface_texture_peer.h" 10 #include "content/common/android/surface_texture_peer.h"
11 #include "content/public/app/android_library_loader_hooks.h" 11 #include "content/public/app/android_library_loader_hooks.h"
12 #include "content/public/common/content_descriptors.h" 12 #include "content/public/common/content_descriptors.h"
13 #include "ipc/ipc_descriptors.h" 13 #include "ipc/ipc_descriptors.h"
14 #include "jni/sandboxed_process_service_jni.h" 14 #include "jni/SandboxedProcessService_jni.h"
15 15
16 using base::android::AttachCurrentThread; 16 using base::android::AttachCurrentThread;
17 using base::android::CheckException; 17 using base::android::CheckException;
18 using base::android::JavaIntArrayToIntVector; 18 using base::android::JavaIntArrayToIntVector;
19 19
20 namespace { 20 namespace {
21 21
22 class SurfaceTexturePeerSandboxedImpl : public content::SurfaceTexturePeer { 22 class SurfaceTexturePeerSandboxedImpl : public content::SurfaceTexturePeer {
23 public: 23 public:
24 // |service| is the instance of 24 // |service| is the instance of
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 LOG(INFO) << "SandboxedProcessService: Exiting sandboxed process."; 97 LOG(INFO) << "SandboxedProcessService: Exiting sandboxed process.";
98 LibraryLoaderExitHook(); 98 LibraryLoaderExitHook();
99 _exit(0); 99 _exit(0);
100 } 100 }
101 101
102 bool RegisterSandboxedProcessService(JNIEnv* env) { 102 bool RegisterSandboxedProcessService(JNIEnv* env) {
103 return RegisterNativesImpl(env); 103 return RegisterNativesImpl(env);
104 } 104 }
105 105
106 } // namespace content 106 } // namespace content
OLDNEW
« no previous file with comments | « content/app/android/library_loader_hooks.cc ('k') | content/app/android/user_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698