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

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

Issue 218613010: Mojo: Move mojo/public/bindings/*.h to mojo/public/cpp/bindings/*.h. (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
« no previous file with comments | « mojo/service_manager/service_manager.cc ('k') | mojo/services/gles2/command_buffer_impl.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/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/cpp/bindings/allocation_scope.h"
7 #include "mojo/public/bindings/remote_ptr.h" 7 #include "mojo/public/cpp/bindings/remote_ptr.h"
8 #include "mojo/public/cpp/environment/environment.h" 8 #include "mojo/public/cpp/environment/environment.h"
9 #include "mojo/public/cpp/shell/application.h" 9 #include "mojo/public/cpp/shell/application.h"
10 #include "mojo/public/interfaces/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 {
(...skipping 167 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.cc ('k') | mojo/services/gles2/command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698