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

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

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

Powered by Google App Engine
This is Rietveld 408576698