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

Side by Side Diff: chrome/browser/devtools/device/port_forwarding_browsertest.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/compiler_specific.h" 6 #include "base/compiler_specific.h"
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "chrome/browser/devtools/device/devtools_android_bridge.h" 11 #include "chrome/browser/devtools/device/devtools_android_bridge.h"
12 #include "chrome/browser/devtools/device/tcp_device_provider.h" 12 #include "chrome/browser/devtools/device/tcp_device_provider.h"
13 #include "chrome/browser/devtools/remote_debugging_server.h" 13 #include "chrome/browser/devtools/remote_debugging_server.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
16 #include "chrome/browser/ui/tabs/tab_strip_model.h" 16 #include "chrome/browser/ui/tabs/tab_strip_model.h"
17 #include "chrome/common/chrome_switches.h" 17 #include "chrome/common/chrome_switches.h"
18 #include "chrome/common/pref_names.h" 18 #include "chrome/common/pref_names.h"
19 #include "chrome/test/base/in_process_browser_test.h" 19 #include "chrome/test/base/in_process_browser_test.h"
20 #include "chrome/test/base/ui_test_utils.h" 20 #include "chrome/test/base/ui_test_utils.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 std::unique_ptr<Listener> wait_for_port_forwarding(new Listener(profile)); 177 std::unique_ptr<Listener> wait_for_port_forwarding(new Listener(profile));
178 content::RunMessageLoop(); 178 content::RunMessageLoop();
179 179
180 self_provider->set_release_callback_for_test( 180 self_provider->set_release_callback_for_test(
181 base::Bind(&base::MessageLoop::PostTask, 181 base::Bind(&base::MessageLoop::PostTask,
182 base::Unretained(base::MessageLoop::current()), FROM_HERE, 182 base::Unretained(base::MessageLoop::current()), FROM_HERE,
183 base::MessageLoop::QuitWhenIdleClosure())); 183 base::MessageLoop::QuitWhenIdleClosure()));
184 wait_for_port_forwarding.reset(); 184 wait_for_port_forwarding.reset();
185 content::RunMessageLoop(); 185 content::RunMessageLoop();
186 } 186 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/device/cast_device_provider.cc ('k') | chrome/browser/devtools/device/tcp_device_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698