[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / content / public / common / navigator_connect_client.cc
blobbf21bc96cdd88ec8f2afef2a2da325fdfd84015f
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
3 // found in the LICENSE file.
5 #include "content/public/common/navigator_connect_client.h"
7 namespace content {
9 NavigatorConnectClient::NavigatorConnectClient() : message_port_id(-1) {
12 NavigatorConnectClient::NavigatorConnectClient(const GURL& target_url,
13 const GURL& origin,
14 int message_port_id)
15 : target_url(target_url), origin(origin), message_port_id(message_port_id) {
18 NavigatorConnectClient::~NavigatorConnectClient() {
21 } // namespace content