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

Side by Side Diff: chrome/browser/media/router/media_router_dialog_controller.cc

Issue 1228863005: [MediaRouter] The minimal change to make everything build on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the include for MediaRouterDialogControllerImpl Created 5 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/media/router/media_router_dialog_controller.h"
6
7 #if defined(OS_ANDROID)
8 #include "chrome/browser/media/android/router/media_router_dialog_controller_and roid.h"
9 #else
10 #include "chrome/browser/ui/webui/media_router/media_router_dialog_controller_im pl.h"
11 #endif
12
13 namespace media_router {
14
15 // static
16 MediaRouterDialogController*
17 MediaRouterDialogController::GetOrCreateForWebContents(
18 content::WebContents* contents) {
19 #if defined(OS_ANDROID)
20 return MediaRouterDialogControllerAndroid::GetOrCreateForWebContents(
21 contents);
22 #else
23 return MediaRouterDialogControllerImpl::GetOrCreateForWebContents(contents);
24 #endif
25 }
26
27 } // namespace media_router
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698