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

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

Issue 1847373005: Fix IWYU violators that don't include scoped_ptr.h in Android build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 #include <map> 10 #include <map>
10 11
11 #include "base/callback.h" 12 #include "base/callback.h"
12 #include "base/command_line.h" 13 #include "base/command_line.h"
13 #include "base/files/memory_mapped_file.h" 14 #include "base/files/memory_mapped_file.h"
15 #include "base/memory/scoped_ptr.h"
14 #include "base/process/process.h" 16 #include "base/process/process.h"
15 #include "content/public/browser/file_descriptor_info.h" 17 #include "content/public/browser/file_descriptor_info.h"
16 #include "ui/gl/android/scoped_java_surface.h" 18 #include "ui/gl/android/scoped_java_surface.h"
17 19
18 namespace content { 20 namespace content {
19 21
20 typedef base::Callback<void(base::ProcessHandle)> StartChildProcessCallback; 22 typedef base::Callback<void(base::ProcessHandle)> StartChildProcessCallback;
21 // Starts a process as a child process spawned by the Android 23 // Starts a process as a child process spawned by the Android
22 // ActivityManager. 24 // ActivityManager.
23 // The created process handle is returned to the |callback| on success, 0 is 25 // The created process handle is returned to the |callback| on success, 0 is
(...skipping 29 matching lines...) Expand all
53 void DestroySurfaceTextureSurface(int surface_texture_id, int client_id); 55 void DestroySurfaceTextureSurface(int surface_texture_id, int client_id);
54 56
55 gfx::ScopedJavaSurface GetSurfaceTextureSurface(int surface_texture_id, 57 gfx::ScopedJavaSurface GetSurfaceTextureSurface(int surface_texture_id,
56 int client_id); 58 int client_id);
57 59
58 bool RegisterChildProcessLauncher(JNIEnv* env); 60 bool RegisterChildProcessLauncher(JNIEnv* env);
59 61
60 } // namespace content 62 } // namespace content
61 63
62 #endif // CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_ 64 #endif // CONTENT_BROWSER_ANDROID_CHILD_PROCESS_LAUNCHER_ANDROID_H_
OLDNEW
« no previous file with comments | « content/app/android/content_main.cc ('k') | content/renderer/android/synchronous_compositor_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698