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

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: 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..8d14dfdcb0a8d8d1563ff1b8ca1ed5fb146d1e78
--- /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.
gunsch 2015/02/20 01:56:03 nit: prefer "implementation:"
derekjchow1 2015/02/20 02:24:16 Done.
+ 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_

Powered by Google App Engine
This is Rietveld 408576698