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

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: Fixed the unit test 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
« no previous file with comments | « no previous file | chrome/browser/media/android/router/media_router_dialog_controller_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..41c106cf7e0ec08fcb47762ec470f538a1bfcba6 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,10 +21,6 @@ class MediaRouterDialogControllerAndroid
static MediaRouterDialogControllerAndroid* GetOrCreateForWebContents(
content::WebContents* web_contents);
- // MediaRouterDialogController implementation.
- bool ShowMediaRouterDialogForPresentation(
- scoped_ptr<CreatePresentationSessionRequest> request) override;
-
private:
friend class content::WebContentsUserData<MediaRouterDialogControllerAndroid>;
@@ -34,7 +29,10 @@ class MediaRouterDialogControllerAndroid
explicit MediaRouterDialogControllerAndroid(
content::WebContents* web_contents);
- base::ThreadChecker thread_checker_;
+ // MediaRouterDialogController:
+ void CreateMediaRouterDialog() override;
+ void CloseMediaRouterDialog() override;
+ bool IsShowingMediaRouterDialog() const override;
DISALLOW_COPY_AND_ASSIGN(MediaRouterDialogControllerAndroid);
};
« no previous file with comments | « no previous file | chrome/browser/media/android/router/media_router_dialog_controller_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698