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

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

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/shell/public/cpp/service_test.h" 5 #include "services/service_manager/public/cpp/service_test.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/run_loop.h" 9 #include "base/run_loop.h"
10 #include "services/shell/background/background_shell.h" 10 #include "services/service_manager/background/background_shell.h"
11 #include "services/shell/public/cpp/service.h" 11 #include "services/service_manager/public/cpp/service.h"
12 12
13 namespace shell { 13 namespace shell {
14 namespace test { 14 namespace test {
15 15
16 ServiceTestClient::ServiceTestClient(ServiceTest* test) : test_(test) {} 16 ServiceTestClient::ServiceTestClient(ServiceTest* test) : test_(test) {}
17 ServiceTestClient::~ServiceTestClient() {} 17 ServiceTestClient::~ServiceTestClient() {}
18 18
19 void ServiceTestClient::OnStart(const Identity& identity) { 19 void ServiceTestClient::OnStart(const Identity& identity) {
20 test_->OnStartCalled(connector(), identity.name(), 20 test_->OnStartCalled(connector(), identity.name(),
21 identity.user_id()); 21 identity.user_id());
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 69 }
70 70
71 void ServiceTest::TearDown() { 71 void ServiceTest::TearDown() {
72 background_shell_.reset(); 72 background_shell_.reset();
73 message_loop_.reset(); 73 message_loop_.reset();
74 service_.reset(); 74 service_.reset();
75 } 75 }
76 76
77 } // namespace test 77 } // namespace test
78 } // namespace shell 78 } // namespace shell
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/lib/service_runner.cc ('k') | services/service_manager/public/cpp/names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698