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

Side by Side Diff: services/service_manager/runner/host/service_process_launcher_unittest.cc

Issue 2697933003: Add missing #include around sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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 "services/service_manager/runner/host/service_process_launcher.h" 5 #include "services/service_manager/runner/host/service_process_launcher.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "base/run_loop.h" 17 #include "base/run_loop.h"
18 #include "base/threading/sequenced_worker_pool.h"
18 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
19 20
20 namespace service_manager { 21 namespace service_manager {
21 namespace { 22 namespace {
22 23
23 const char kTestServiceName[] = "host_test_service"; 24 const char kTestServiceName[] = "host_test_service";
24 25
25 #if defined(OS_WIN) 26 #if defined(OS_WIN)
26 const base::FilePath::CharType kServiceExtension[] = 27 const base::FilePath::CharType kServiceExtension[] =
27 FILE_PATH_LITERAL(".service.exe"); 28 FILE_PATH_LITERAL(".service.exe");
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 run_loop.Run(); 92 run_loop.Run();
92 93
93 launcher.Join(); 94 launcher.Join();
94 blocking_pool->Shutdown(); 95 blocking_pool->Shutdown();
95 96
96 EXPECT_EQ(1u, service_process_launcher_delegate.get_and_clear_adjust_count()); 97 EXPECT_EQ(1u, service_process_launcher_delegate.get_and_clear_adjust_count());
97 } 98 }
98 99
99 } // namespace 100 } // namespace
100 } // namespace service_manager 101 } // namespace service_manager
OLDNEW
« no previous file with comments | « chromecast/browser/url_request_context_factory.cc ('k') | services/service_manager/standalone/context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698