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

Side by Side Diff: mojo/services/view_manager/view_manager_init_service_impl.cc

Issue 423613002: Mojo: split up service_provider.mojom (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/services/view_manager/root_node_manager.cc ('k') | mojo/shell/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 "mojo/services/view_manager/view_manager_init_service_impl.h" 5 #include "mojo/services/view_manager/view_manager_init_service_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h"
9 #include "mojo/services/view_manager/ids.h" 8 #include "mojo/services/view_manager/ids.h"
10 #include "mojo/services/view_manager/view_manager_init_service_context.h" 9 #include "mojo/services/view_manager/view_manager_init_service_context.h"
11 #include "mojo/services/view_manager/view_manager_service_impl.h" 10 #include "mojo/services/view_manager/view_manager_service_impl.h"
12 11
13 namespace mojo { 12 namespace mojo {
14 class ApplicationConnection; 13 class ApplicationConnection;
15 namespace service { 14 namespace service {
16 15
17 ViewManagerInitServiceImpl::ConnectParams::ConnectParams() {} 16 ViewManagerInitServiceImpl::ConnectParams::ConnectParams() {}
18 17
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const Callback<void(bool)>& callback) { 56 const Callback<void(bool)>& callback) {
58 ConnectParams* params = new ConnectParams; 57 ConnectParams* params = new ConnectParams;
59 params->url = url.To<std::string>(); 58 params->url = url.To<std::string>();
60 params->callback = callback; 59 params->callback = callback;
61 connect_params_.push_back(params); 60 connect_params_.push_back(params);
62 MaybeEmbed(); 61 MaybeEmbed();
63 } 62 }
64 63
65 } // namespace service 64 } // namespace service
66 } // namespace mojo 65 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/view_manager/root_node_manager.cc ('k') | mojo/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698