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

Side by Side Diff: services/service_manager/background/tests/background_service_manager_unittest.cc

Issue 2656583002: Remove unused typemap includes from generated C++ mojo bindings. (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
« no previous file with comments | « services/catalog/entry.h ('k') | services/service_manager/public/cpp/lib/service_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/service_manager/background/background_service_manager.h" 5 #include "services/service_manager/background/background_service_manager.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/values.h"
11 #include "services/service_manager/background/tests/test.mojom.h" 12 #include "services/service_manager/background/tests/test.mojom.h"
12 #include "services/service_manager/public/cpp/connector.h" 13 #include "services/service_manager/public/cpp/connector.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 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 17
17 namespace service_manager { 18 namespace service_manager {
18 namespace { 19 namespace {
19 20
20 const char kTestName[] = "background_service_manager_unittest"; 21 const char kTestName[] = "background_service_manager_unittest";
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // Ask the service to quit itself. 102 // Ask the service to quit itself.
102 test_service->Quit(); 103 test_service->Quit();
103 run_loop.Run(); 104 run_loop.Run();
104 105
105 // The run loop was quit by the callback and not by something else. 106 // The run loop was quit by the callback and not by something else.
106 EXPECT_TRUE(callback_called); 107 EXPECT_TRUE(callback_called);
107 } 108 }
108 109
109 } // namespace 110 } // namespace
110 } // namespace service_manager 111 } // namespace service_manager
OLDNEW
« no previous file with comments | « services/catalog/entry.h ('k') | services/service_manager/public/cpp/lib/service_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698