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

Side by Side Diff: services/shell/public/cpp/lib/connector_impl.cc

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
Patch Set: . Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/public/cpp/lib/connector_impl.h" 5 #include "services/shell/public/cpp/lib/connector_impl.h"
6 6
7 #include "mojo/shell/public/cpp/identity.h" 7 #include "services/shell/public/cpp/identity.h"
8 #include "mojo/shell/public/cpp/lib/connection_impl.h" 8 #include "services/shell/public/cpp/lib/connection_impl.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 11
12 Connector::ConnectParams::ConnectParams(const Identity& target) 12 Connector::ConnectParams::ConnectParams(const Identity& target)
13 : target_(target) {} 13 : target_(target) {}
14 Connector::ConnectParams::ConnectParams(const std::string& name) 14 Connector::ConnectParams::ConnectParams(const std::string& name)
15 : target_(name, shell::mojom::kInheritUserID) {} 15 : target_(name, shell::mojom::kInheritUserID) {}
16 Connector::ConnectParams::~ConnectParams() {} 16 Connector::ConnectParams::~ConnectParams() {}
17 17
18 ConnectorImpl::ConnectorImpl(shell::mojom::ConnectorPtrInfo unbound_state) 18 ConnectorImpl::ConnectorImpl(shell::mojom::ConnectorPtrInfo unbound_state)
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 } 82 }
83 83
84 scoped_ptr<Connector> ConnectorImpl::Clone() { 84 scoped_ptr<Connector> ConnectorImpl::Clone() {
85 shell::mojom::ConnectorPtr connector; 85 shell::mojom::ConnectorPtr connector;
86 connector_->Clone(GetProxy(&connector)); 86 connector_->Clone(GetProxy(&connector));
87 return make_scoped_ptr( 87 return make_scoped_ptr(
88 new ConnectorImpl(connector.PassInterface())); 88 new ConnectorImpl(connector.PassInterface()));
89 } 89 }
90 90
91 } // namespace mojo 91 } // namespace mojo
OLDNEW
« no previous file with comments | « services/shell/public/cpp/lib/connector_impl.h ('k') | services/shell/public/cpp/lib/identity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698