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 "chromecast/browser/cast_network_delegate.h"
7 #include "base/macros.h"
10 namespace chromecast
{
15 class CastNetworkDelegateSimple
: public CastNetworkDelegate
{
17 CastNetworkDelegateSimple() {}
20 // CastNetworkDelegate implementation:
21 void Initialize(bool use_sync_signing
) override
{}
22 bool IsWhitelisted(const GURL
& gurl
, int render_process_id
,
23 bool for_device_auth
) const override
{
27 DISALLOW_COPY_AND_ASSIGN(CastNetworkDelegateSimple
);
33 CastNetworkDelegate
* CastNetworkDelegate::Create() {
34 return new CastNetworkDelegateSimple();
38 net::X509Certificate
* CastNetworkDelegate::DeviceCert() {
43 } // namespace chromecast