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

Side by Side Diff: content/shell/browser/layout_test/layout_test_android.cc

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/shell/browser/layout_test/layout_test_android.h" 5 #include "content/shell/browser/layout_test/layout_test_android.h"
6 6
7 #include "base/android/context_utils.h"
7 #include "base/android/fifo_utils.h" 8 #include "base/android/fifo_utils.h"
8 #include "base/android/jni_android.h" 9 #include "base/android/jni_android.h"
9 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
10 #include "base/command_line.h" 11 #include "base/command_line.h"
11 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
12 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
13 #include "content/public/test/nested_message_pump_android.h" 14 #include "content/public/test/nested_message_pump_android.h"
14 #include "content/shell/common/shell_switches.h" 15 #include "content/shell/common/shell_switches.h"
15 #include "jni/ShellLayoutTestUtils_jni.h" 16 #include "jni/ShellLayoutTestUtils_jni.h"
16 #include "url/gurl.h" 17 #include "url/gurl.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Redirecting stdout needs to happen before redirecting stdin, which needs 65 // Redirecting stdout needs to happen before redirecting stdin, which needs
65 // to happen before redirecting stderr. 66 // to happen before redirecting stderr.
66 success = base::android::RedirectStream(stdout, stdout_fifo, "w") && 67 success = base::android::RedirectStream(stdout, stdout_fifo, "w") &&
67 base::android::RedirectStream(stdin, stdin_fifo, "r") && 68 base::android::RedirectStream(stdin, stdin_fifo, "r") &&
68 base::android::RedirectStream(stderr, stderr_fifo, "w"); 69 base::android::RedirectStream(stderr, stderr_fifo, "w");
69 70
70 CHECK(success) << "Unable to initialize the Android FIFOs."; 71 CHECK(success) << "Unable to initialize the Android FIFOs.";
71 } 72 }
72 73
73 } // namespace content 74 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/vr/android/cardboard/cardboard_vr_device.cc ('k') | device/bluetooth/android/wrappers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698