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

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

Issue 2828353002: Android: Remove GetApplicationContext part 3 (Closed)
Patch Set: Fix android webview tests Created 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/scoped_android_configuration.h" 5 #include "content/shell/browser/layout_test/scoped_android_configuration.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <iostream> 8 #include <iostream>
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/android/context_utils.h"
12 #include "base/android/jni_android.h" 11 #include "base/android/jni_android.h"
13 #include "base/android/jni_string.h" 12 #include "base/android/jni_string.h"
14 #include "base/command_line.h" 13 #include "base/command_line.h"
15 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
16 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
17 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
18 #include "base/strings/string_number_conversions.h" 17 #include "base/strings/string_number_conversions.h"
19 #include "base/synchronization/waitable_event.h" 18 #include "base/synchronization/waitable_event.h"
20 #include "base/test/test_support_android.h" 19 #include "base/test/test_support_android.h"
21 #include "content/public/browser/browser_thread.h" 20 #include "content/public/browser/browser_thread.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 add_socket)); 181 add_socket));
183 } 182 }
184 } 183 }
185 184
186 void ScopedAndroidConfiguration::AddSocket( 185 void ScopedAndroidConfiguration::AddSocket(
187 std::unique_ptr<net::SocketPosix> socket) { 186 std::unique_ptr<net::SocketPosix> socket) {
188 sockets_.push_back(std::move(socket)); 187 sockets_.push_back(std::move(socket));
189 } 188 }
190 189
191 } // namespace content 190 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698