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

Unified Diff: chromecast/shell/browser/cast_network_delegate.h

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.h
diff --git a/chromecast/shell/browser/cast_network_delegate.h b/chromecast/shell/browser/cast_network_delegate.h
deleted file mode 100644
index b43bb64328e98189650fb717e1645286dbffa899..0000000000000000000000000000000000000000
--- a/chromecast/shell/browser/cast_network_delegate.h
+++ /dev/null
@@ -1,40 +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.
-
-#ifndef CHROMECAST_SHELL_BROWSER_CAST_NETWORK_DELEGATE_H_
-#define CHROMECAST_SHELL_BROWSER_CAST_NETWORK_DELEGATE_H_
-
-#include "net/base/network_delegate.h"
-
-namespace net {
-class X509Certificate;
-}
-
-namespace chromecast {
-namespace shell {
-
-class CastNetworkDelegate : public net::NetworkDelegate {
- public:
- static CastNetworkDelegate* Create();
- static net::X509Certificate* DeviceCert();
-
- CastNetworkDelegate();
- virtual ~CastNetworkDelegate();
-
- virtual void Initialize(bool use_sync_signing) = 0;
-
- virtual bool IsWhitelisted(const GURL& gurl, bool for_device_auth) const = 0;
-
- private:
- // net::NetworkDelegate implementation:
- virtual bool OnCanAccessFile(const net::URLRequest& request,
- const base::FilePath& path) const override;
-
- DISALLOW_COPY_AND_ASSIGN(CastNetworkDelegate);
-};
-
-} // namespace shell
-} // namespace chromecast
-
-#endif // CHROMECAST_SHELL_BROWSER_CAST_NETWORK_DELEGATE_H_
« no previous file with comments | « chromecast/shell/browser/cast_http_user_agent_settings.cc ('k') | chromecast/shell/browser/cast_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698