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

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

Issue 11293210: Move global_descriptors to base/posix. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « chrome/nacl/nacl_helper_linux.cc ('k') | content/app/content_main_runner.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"
9 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/posix/global_descriptors.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/SandboxedProcessService_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
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 LOG(INFO) << "SandboxedProcessService: Exiting sandboxed process."; 94 LOG(INFO) << "SandboxedProcessService: Exiting sandboxed process.";
95 LibraryLoaderExitHook(); 95 LibraryLoaderExitHook();
96 _exit(0); 96 _exit(0);
97 } 97 }
98 98
99 bool RegisterSandboxedProcessService(JNIEnv* env) { 99 bool RegisterSandboxedProcessService(JNIEnv* env) {
100 return RegisterNativesImpl(env); 100 return RegisterNativesImpl(env);
101 } 101 }
102 102
103 } // namespace content 103 } // namespace content
OLDNEW
« no previous file with comments | « chrome/nacl/nacl_helper_linux.cc ('k') | content/app/content_main_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698