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

Side by Side Diff: content/browser/android/child_process_launcher_android.h

Issue 282893003: Remove stray platform_file.h from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | content/browser/fileapi/file_system_dir_url_request_job_unittest.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 #ifndef CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_
6 #define CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_ 6 #define CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/platform_file.h"
13 #include "base/process/process.h" 12 #include "base/process/process.h"
14 #include "content/public/browser/file_descriptor_info.h" 13 #include "content/public/browser/file_descriptor_info.h"
15 14
16 namespace content { 15 namespace content {
17 16
18 typedef base::Callback<void(base::ProcessHandle)> StartChildProcessCallback; 17 typedef base::Callback<void(base::ProcessHandle)> StartChildProcessCallback;
19 // Starts a process as a child process spawned by the Android 18 // Starts a process as a child process spawned by the Android
20 // ActivityManager. 19 // ActivityManager.
21 // The created process handle is returned to the |callback| on success, 0 is 20 // The created process handle is returned to the |callback| on success, 0 is
22 // retuned if the process could not be created. 21 // retuned if the process could not be created.
(...skipping 21 matching lines...) Expand all
44 jobject j_surface_texture); 43 jobject j_surface_texture);
45 44
46 void UnregisterChildProcessSurfaceTexture(int surface_texture_id, 45 void UnregisterChildProcessSurfaceTexture(int surface_texture_id,
47 int child_process_id); 46 int child_process_id);
48 47
49 bool RegisterChildProcessLauncher(JNIEnv* env); 48 bool RegisterChildProcessLauncher(JNIEnv* env);
50 49
51 } // namespace content 50 } // namespace content
52 51
53 #endif // CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_ 52 #endif // CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/fileapi/file_system_dir_url_request_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698