summaryrefslogtreecommitdiffstats
path: root/mojo/shell/connect_params.cc
blob: ec4e7225d72461417cc8e25948319068079b1910 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "mojo/shell/connect_params.h"

#include <utility>

#include "mojo/shell/application_instance.h"

namespace mojo {
namespace shell {

ConnectParams::ConnectParams() {}

ConnectParams::~ConnectParams() {}

void ConnectParams::SetTargetURL(const GURL& target_url) {
  target_ = Identity(target_url, target_.qualifier(),
                     mojom::Shell::kUserInherit, target_.filter());
}

}  // namespace shell
}  // namespace mojo