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

Side by Side Diff: mojo/service_manager/service_manager_unittest.cc

Issue 219583003: Mojo: Move mojo/public/shell to mojo/public/{cpp,interfaces}/shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
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/message_loop/message_loop.h" 5 #include "base/message_loop/message_loop.h"
6 #include "mojo/public/bindings/allocation_scope.h" 6 #include "mojo/public/bindings/allocation_scope.h"
7 #include "mojo/public/bindings/remote_ptr.h" 7 #include "mojo/public/bindings/remote_ptr.h"
8 #include "mojo/public/cpp/environment/environment.h" 8 #include "mojo/public/cpp/environment/environment.h"
9 #include "mojo/public/shell/application.h" 9 #include "mojo/public/cpp/shell/application.h"
10 #include "mojo/public/shell/shell.mojom.h" 10 #include "mojo/public/interfaces/shell/shell.mojom.h"
11 #include "mojo/service_manager/service_loader.h" 11 #include "mojo/service_manager/service_loader.h"
12 #include "mojo/service_manager/service_manager.h" 12 #include "mojo/service_manager/service_manager.h"
13 #include "mojo/service_manager/test.mojom.h" 13 #include "mojo/service_manager/test.mojom.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace { 17 namespace {
18 18
19 const char kTestURLString[] = "test:testService"; 19 const char kTestURLString[] = "test:testService";
20 20
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 // http::test1 should go to default loader. 186 // http::test1 should go to default loader.
187 InterfacePipe<TestService, AnyInterface> pipe3; 187 InterfacePipe<TestService, AnyInterface> pipe3;
188 sm.Connect(GURL("http:test1"), pipe3.handle_to_peer.Pass()); 188 sm.Connect(GURL("http:test1"), pipe3.handle_to_peer.Pass());
189 EXPECT_EQ(1, url_loader.num_loads()); 189 EXPECT_EQ(1, url_loader.num_loads());
190 EXPECT_EQ(1, scheme_loader.num_loads()); 190 EXPECT_EQ(1, scheme_loader.num_loads());
191 EXPECT_EQ(1, default_loader.num_loads()); 191 EXPECT_EQ(1, default_loader.num_loads());
192 } 192 }
193 193
194 } // namespace mojo 194 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/service_manager/service_manager.h ('k') | mojo/services/native_viewport/native_viewport_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698