OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/connect_params.h" | 5 #include "mojo/shell/connect_params.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "mojo/shell/application_instance.h" | 9 #include "mojo/shell/application_instance.h" |
10 | 10 |
11 namespace mojo { | 11 namespace mojo { |
12 namespace shell { | 12 namespace shell { |
13 | 13 |
14 ConnectParams::ConnectParams() {} | 14 ConnectParams::ConnectParams() {} |
15 | |
16 ConnectParams::~ConnectParams() {} | 15 ConnectParams::~ConnectParams() {} |
17 | 16 |
18 void ConnectParams::SetTargetURL(const GURL& target_url) { | |
19 target_ = Identity(target_url, target_.qualifier(), | |
20 mojom::Connector::kUserInherit, target_.filter()); | |
21 } | |
22 | |
23 } // namespace shell | 17 } // namespace shell |
24 } // namespace mojo | 18 } // namespace mojo |
OLD | NEW |