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

Side by Side Diff: chrome/browser/devtools/device/adb/mock_adb_server.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 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 "chrome/browser/devtools/device/adb/mock_adb_server.h" 5 #include "chrome/browser/devtools/device/adb/mock_adb_server.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ptr_util.h" 12 #include "base/memory/ptr_util.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/message_loop/message_loop.h"
14 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
15 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/string_split.h" 17 #include "base/strings/string_split.h"
17 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
18 #include "base/strings/stringprintf.h" 19 #include "base/strings/stringprintf.h"
19 #include "base/threading/non_thread_safe.h" 20 #include "base/threading/non_thread_safe.h"
20 #include "base/threading/thread_task_runner_handle.h" 21 #include "base/threading/thread_task_runner_handle.h"
21 #include "content/public/browser/browser_thread.h" 22 #include "content/public/browser/browser_thread.h"
22 #include "content/public/test/browser_test.h" 23 #include "content/public/test/browser_test.h"
23 #include "content/public/test/test_utils.h" 24 #include "content/public/test/test_utils.h"
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 content::RunMessageLoop(); 616 content::RunMessageLoop();
616 } 617 }
617 618
618 void StopMockAdbServer() { 619 void StopMockAdbServer() {
619 BrowserThread::PostTaskAndReply(BrowserThread::IO, FROM_HERE, 620 BrowserThread::PostTaskAndReply(BrowserThread::IO, FROM_HERE,
620 base::BindOnce(&StopMockAdbServerOnIOThread), 621 base::BindOnce(&StopMockAdbServerOnIOThread),
621 base::MessageLoop::QuitWhenIdleClosure()); 622 base::MessageLoop::QuitWhenIdleClosure());
622 content::RunMessageLoop(); 623 content::RunMessageLoop();
623 } 624 }
624 625
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698