Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: chromecast/shell/browser/cast_network_delegate_simple.cc

Issue 638803002: Reorganizes Chromecast code to better reflect functional dependencies. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: extra DEPS: chromecast/crash/android --> chromecast/common Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromecast/shell/browser/cast_network_delegate_simple.cc
diff --git a/chromecast/shell/browser/cast_network_delegate_simple.cc b/chromecast/shell/browser/cast_network_delegate_simple.cc
deleted file mode 100644
index 60a42c9432904eacabc4db878c97f40922e15326..0000000000000000000000000000000000000000
--- a/chromecast/shell/browser/cast_network_delegate_simple.cc
+++ /dev/null
@@ -1,43 +0,0 @@
-// 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 "chromecast/shell/browser/cast_network_delegate.h"
-
-#include "base/macros.h"
-#include "url/gurl.h"
-
-namespace chromecast {
-namespace shell {
-
-namespace {
-
-class CastNetworkDelegateSimple : public CastNetworkDelegate {
- public:
- CastNetworkDelegateSimple() {}
-
- private:
- // CastNetworkDelegate implementation:
- virtual void Initialize(bool use_sync_signing) override {}
- virtual bool IsWhitelisted(const GURL& gurl,
- bool for_device_auth) const override {
- return false;
- }
-
- DISALLOW_COPY_AND_ASSIGN(CastNetworkDelegateSimple);
-};
-
-} // namespace
-
-// static
-CastNetworkDelegate* CastNetworkDelegate::Create() {
- return new CastNetworkDelegateSimple();
-}
-
-// static
-net::X509Certificate* CastNetworkDelegate::DeviceCert() {
- return NULL;
-}
-
-} // namespace shell
-} // namespace chromecast
« no previous file with comments | « chromecast/shell/browser/cast_network_delegate.cc ('k') | chromecast/shell/browser/devtools/cast_dev_tools_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698