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

Unified Diff: chromecast/browser/cast_resource_dispatcher_host_delegate.h

Issue 925183003: [Chromecast] Add connectivity checking for Chromecast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments in patchset 1 Created 5 years, 10 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/browser/cast_resource_dispatcher_host_delegate.h
diff --git a/chromecast/browser/cast_resource_dispatcher_host_delegate.h b/chromecast/browser/cast_resource_dispatcher_host_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..8295ccd070683118e8c4cce829972b89371aa751
--- /dev/null
+++ b/chromecast/browser/cast_resource_dispatcher_host_delegate.h
@@ -0,0 +1,29 @@
+// Copyright 2015 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_BROWSER_CAST_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
+#define CHROMECAST_BROWSER_CAST_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
+
+#include "base/macros.h"
+#include "content/public/browser/resource_dispatcher_host_delegate.h"
+
+namespace chromecast {
+namespace shell {
+
+class CastResourceDispatcherHostDelegate
+ : public content::ResourceDispatcherHostDelegate {
+ public:
+ CastResourceDispatcherHostDelegate() {}
+
+ // content::ResourceDispatcherHostDelegate implementation:
+ void RequestComplete(net::URLRequest* url_request) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(CastResourceDispatcherHostDelegate);
+};
+
+} // namespace shell
+} // namespace chromecast
+
+#endif // CHROMECAST_BROWSER_CAST_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
« no previous file with comments | « chromecast/browser/cast_content_browser_client.cc ('k') | chromecast/browser/cast_resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698