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

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: Moved base CloseMediaRouterDialog to the end of the derived implementation method 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..ed45584e8d4163590c4d832ca05c7f6408e20a32 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,10 @@ class MediaRouterDialogControllerAndroid
static MediaRouterDialogControllerAndroid* GetOrCreateForWebContents(
content::WebContents* web_contents);
- // MediaRouterDialogController implementation.
+ // MediaRouterDialogController:
bool ShowMediaRouterDialogForPresentation(
scoped_ptr<CreatePresentationSessionRequest> request) override;
+ void CloseMediaRouterDialog() override;
private:
friend class content::WebContentsUserData<MediaRouterDialogControllerAndroid>;
@@ -34,6 +34,9 @@ class MediaRouterDialogControllerAndroid
explicit MediaRouterDialogControllerAndroid(
content::WebContents* web_contents);
+ // MediaRouterDialogController:
+ void Reset() override;
+
base::ThreadChecker thread_checker_;
DISALLOW_COPY_AND_ASSIGN(MediaRouterDialogControllerAndroid);

Powered by Google App Engine
This is Rietveld 408576698