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

Side by Side Diff: mojo/shell/application_manager_unittest.cc

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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 | « mojo/shell/application_manager_apptest_target.cc ('k') | mojo/shell/capability_filter_test.h » ('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 "mojo/shell/application_manager.h" 5 #include "mojo/shell/application_manager.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/scoped_vector.h" 12 #include "base/memory/scoped_vector.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "mojo/application/public/cpp/application_connection.h"
16 #include "mojo/application/public/cpp/application_delegate.h"
17 #include "mojo/application/public/cpp/application_impl.h"
18 #include "mojo/application/public/cpp/interface_factory.h"
19 #include "mojo/application/public/interfaces/service_provider.mojom.h"
20 #include "mojo/public/cpp/bindings/strong_binding.h" 15 #include "mojo/public/cpp/bindings/strong_binding.h"
21 #include "mojo/shell/application_loader.h" 16 #include "mojo/shell/application_loader.h"
22 #include "mojo/shell/connect_util.h" 17 #include "mojo/shell/connect_util.h"
23 #include "mojo/shell/fetcher.h" 18 #include "mojo/shell/fetcher.h"
24 #include "mojo/shell/package_manager.h" 19 #include "mojo/shell/package_manager.h"
20 #include "mojo/shell/public/cpp/application_connection.h"
21 #include "mojo/shell/public/cpp/application_delegate.h"
22 #include "mojo/shell/public/cpp/application_impl.h"
23 #include "mojo/shell/public/cpp/interface_factory.h"
24 #include "mojo/shell/public/interfaces/service_provider.mojom.h"
25 #include "mojo/shell/test.mojom.h" 25 #include "mojo/shell/test.mojom.h"
26 #include "mojo/shell/test_package_manager.h" 26 #include "mojo/shell/test_package_manager.h"
27 #include "testing/gtest/include/gtest/gtest.h" 27 #include "testing/gtest/include/gtest/gtest.h"
28 28
29 namespace mojo { 29 namespace mojo {
30 namespace shell { 30 namespace shell {
31 namespace test { 31 namespace test {
32 32
33 const char kTestURLString[] = "test:testService"; 33 const char kTestURLString[] = "test:testService";
34 const char kTestAURLString[] = "test:TestA"; 34 const char kTestAURLString[] = "test:TestA";
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 626
627 // A different identity because the domain is different. 627 // A different identity because the domain is different.
628 ConnectToService(application_manager_.get(), 628 ConnectToService(application_manager_.get(),
629 GURL("http://www.another_domain.org/abc"), &test_service); 629 GURL("http://www.another_domain.org/abc"), &test_service);
630 EXPECT_EQ(4, test_loader_->num_loads()); 630 EXPECT_EQ(4, test_loader_->num_loads());
631 } 631 }
632 632
633 } // namespace test 633 } // namespace test
634 } // namespace shell 634 } // namespace shell
635 } // namespace mojo 635 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/shell/application_manager_apptest_target.cc ('k') | mojo/shell/capability_filter_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698