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

Side by Side Diff: services/shell/tests/loader_unittest.cc

Issue 1878893002: Move //mojo/services tracing & catalog to //services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@63move
Patch Set: . Created 4 years, 8 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/shell/tests/DEPS ('k') | services/tracing/BUILD.gn » ('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 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 <utility> 5 #include <utility>
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/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "mojo/public/cpp/bindings/strong_binding.h" 13 #include "mojo/public/cpp/bindings/strong_binding.h"
14 #include "mojo/services/catalog/factory.h" 14 #include "services/catalog/factory.h"
15 #include "mojo/services/catalog/store.h" 15 #include "services/catalog/store.h"
16 #include "services/shell/connect_util.h" 16 #include "services/shell/connect_util.h"
17 #include "services/shell/loader.h" 17 #include "services/shell/loader.h"
18 #include "services/shell/public/cpp/connector.h" 18 #include "services/shell/public/cpp/connector.h"
19 #include "services/shell/public/cpp/interface_factory.h" 19 #include "services/shell/public/cpp/interface_factory.h"
20 #include "services/shell/public/cpp/shell_client.h" 20 #include "services/shell/public/cpp/shell_client.h"
21 #include "services/shell/public/cpp/shell_connection.h" 21 #include "services/shell/public/cpp/shell_connection.h"
22 #include "services/shell/public/interfaces/interface_provider.mojom.h" 22 #include "services/shell/public/interfaces/interface_provider.mojom.h"
23 #include "services/shell/shell.h" 23 #include "services/shell/shell.h"
24 #include "services/shell/tests/test.mojom.h" 24 #include "services/shell/tests/test.mojom.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 EXPECT_EQ(2, test_loader_->num_loads()); 552 EXPECT_EQ(2, test_loader_->num_loads());
553 553
554 // A different identity because the domain is different. 554 // A different identity because the domain is different.
555 ConnectToInterface("test:bar", &test_service); 555 ConnectToInterface("test:bar", &test_service);
556 EXPECT_EQ(3, test_loader_->num_loads()); 556 EXPECT_EQ(3, test_loader_->num_loads());
557 } 557 }
558 558
559 } // namespace test 559 } // namespace test
560 } // namespace shell 560 } // namespace shell
561 } // namespace mojo 561 } // namespace mojo
OLDNEW
« no previous file with comments | « services/shell/tests/DEPS ('k') | services/tracing/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698