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

Unified Diff: chrome/browser/media/android/router/media_router_dialog_controller_android.h

Issue 1243173003: [MediaRouter] Moved the code useful for Android to MediaRouterDialogController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@build-media-router-android
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media/android/router/media_router_dialog_controller_android.h
diff --git a/chrome/browser/media/android/router/media_router_dialog_controller_android.h b/chrome/browser/media/android/router/media_router_dialog_controller_android.h
index f02dc33b662976d62d9935e2f838213d1266a6e5..ca06b2e9650c1d5ae482e2af6f8ff0e25f0baf84 100644
--- a/chrome/browser/media/android/router/media_router_dialog_controller_android.h
+++ b/chrome/browser/media/android/router/media_router_dialog_controller_android.h
@@ -7,7 +7,6 @@
#include "base/macros.h"
#include "chrome/browser/media/router/media_router_dialog_controller.h"
-#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
namespace media_router {
@@ -22,9 +21,8 @@ class MediaRouterDialogControllerAndroid
static MediaRouterDialogControllerAndroid* GetOrCreateForWebContents(
content::WebContents* web_contents);
- // MediaRouterDialogController implementation.
- bool ShowMediaRouterDialogForPresentation(
- scoped_ptr<CreatePresentationSessionRequest> request) override;
+ // MediaRouterDialogController:
+ bool IsShowingMediaRouterDialog() override;
private:
friend class content::WebContentsUserData<MediaRouterDialogControllerAndroid>;
@@ -34,7 +32,8 @@ class MediaRouterDialogControllerAndroid
explicit MediaRouterDialogControllerAndroid(
content::WebContents* web_contents);
- base::ThreadChecker thread_checker_;
+ // MediaRouterDialogController:
+ void CreateMediaRouterDialog() override;
DISALLOW_COPY_AND_ASSIGN(MediaRouterDialogControllerAndroid);
};

Powered by Google App Engine
This is Rietveld 408576698