blob: 9cc66ec716309c0f4e209facea84abd4a36e3254 [file] [log] [blame]
// Copyright 2014 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 "url/gurl.h"
namespace content {
// This struct represents a connection to a navigator.connect exposed service.
struct NavigatorConnectClient {
NavigatorConnectClient(const GURL& target_url,
const GURL& origin,
int message_port_id);
// The URL this client is connected to (or trying to connect to).
GURL target_url;
// The origin of the client.
GURL origin;
// Message port ID for the service side message port associated with this
// client.
int message_port_id;
} // namespace content