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

Side by Side Diff: chrome/browser/conflicts/module_inspector_win_unittest.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/conflicts/module_inspector_win.h" 5 #include "chrome/browser/conflicts/module_inspector_win.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/environment.h" 13 #include "base/environment.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/message_loop/message_loop.h"
16 #include "base/run_loop.h" 17 #include "base/run_loop.h"
17 #include "base/test/scoped_task_scheduler.h" 18 #include "base/test/scoped_task_scheduler.h"
18 #include "base/test/test_simple_task_runner.h" 19 #include "base/test/test_simple_task_runner.h"
19 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
20 21
21 namespace { 22 namespace {
22 23
23 base::FilePath GetKernel32DllFilePath() { 24 base::FilePath GetKernel32DllFilePath() {
24 std::unique_ptr<base::Environment> env = base::Environment::Create(); 25 std::unique_ptr<base::Environment> env = base::Environment::Create();
25 std::string sysroot; 26 std::string sysroot;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 {base::FilePath(), 0, 0, 4}, 89 {base::FilePath(), 0, 0, 4},
89 {base::FilePath(), 0, 0, 5}, 90 {base::FilePath(), 0, 0, 5},
90 }); 91 });
91 92
92 base::RunLoop().RunUntilIdle(); 93 base::RunLoop().RunUntilIdle();
93 94
94 EXPECT_EQ(5u, inspected_modules().size()); 95 EXPECT_EQ(5u, inspected_modules().size());
95 for (const auto& inspection_result : inspected_modules()) 96 for (const auto& inspection_result : inspected_modules())
96 EXPECT_TRUE(inspection_result); 97 EXPECT_TRUE(inspection_result);
97 } 98 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698