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

Side by Side Diff: services/service_manager/public/cpp/lib/service_runner.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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/public/cpp/service_runner.h" 5 #include "services/service_manager/public/cpp/service_runner.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/memory/ptr_util.h"
10 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
11 #include "base/process/launch.h" 12 #include "base/process/launch.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "services/service_manager/public/cpp/service.h" 14 #include "services/service_manager/public/cpp/service.h"
14 #include "services/service_manager/public/cpp/service_context.h" 15 #include "services/service_manager/public/cpp/service_context.h"
15 16
16 namespace service_manager { 17 namespace service_manager {
17 18
18 int g_service_runner_argc; 19 int g_service_runner_argc;
19 const char* const* g_service_runner_argv; 20 const char* const* g_service_runner_argv;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 73
73 MojoResult ServiceRunner::Run(MojoHandle service_request_handle) { 74 MojoResult ServiceRunner::Run(MojoHandle service_request_handle) {
74 return Run(service_request_handle, false); 75 return Run(service_request_handle, false);
75 } 76 }
76 77
77 void ServiceRunner::Quit() { 78 void ServiceRunner::Quit() {
78 base::MessageLoop::current()->QuitWhenIdle(); 79 base::MessageLoop::current()->QuitWhenIdle();
79 } 80 }
80 81
81 } // namespace service_manager 82 } // namespace service_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698