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

Unified Diff: chromecast/app/cast_main_delegate_public.cc

Issue 1153173006: Chromecast: use CastContent{Browser,Renderer}Client as a base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: actually include new file Created 5 years, 6 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/app/cast_main_delegate_public.cc
diff --git a/chromecast/app/cast_main_delegate_public.cc b/chromecast/app/cast_main_delegate_public.cc
new file mode 100644
index 0000000000000000000000000000000000000000..aaa6d4a94ceebf5f6f5ea26c34cd8a915299f2f5
--- /dev/null
+++ b/chromecast/app/cast_main_delegate_public.cc
@@ -0,0 +1,18 @@
+// 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.
+
+#include "chromecast/app/cast_main_delegate.h"
+
+namespace chromecast {
+
+CastContentBrowserClient* CastMainDelegate::PlatformCreateCastBrowserClient() {
+ return new CastContentBrowserClient();
+}
+
+CastContentRendererClient*
+CastMainDelegate::PlatformCreateCastRendererClient() {
+ return new CastContentRendererClient();
+}
+
+} // namespace

Powered by Google App Engine
This is Rietveld 408576698