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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc

Issue 2525563003: mash: Change CastConfigDelegate to a mojoified CastConfigClient. (Closed)
Patch Set: Now for the external apitests as well. Created 4 years 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/ui/ash/system_tray_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index d07ce2fa923a24906645d66ff2193cbaebc095d7..0ab128c1a747ff3dce4fa1ae32b6f7d09b59f3e8 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -54,7 +54,8 @@
#include "chrome/browser/chromeos/profiles/multiprofiles_intro_dialog.h"
#include "chrome/browser/chromeos/profiles/profile_helper.h"
#include "chrome/browser/profiles/profile_manager.h"
-#include "chrome/browser/ui/ash/cast_config_delegate_media_router.h"
+#include "chrome/browser/supervised_user/supervised_user_service.h"
+#include "chrome/browser/supervised_user/supervised_user_service_factory.h"
#include "chrome/browser/ui/ash/multi_user/multi_user_util.h"
#include "chrome/browser/ui/ash/networking_config_delegate_chromeos.h"
#include "chrome/browser/ui/ash/system_tray_client.h"
@@ -142,8 +143,7 @@ bool IsSessionInSecondaryLoginScreen() {
} // namespace
SystemTrayDelegateChromeOS::SystemTrayDelegateChromeOS()
- : cast_config_delegate_(base::MakeUnique<CastConfigDelegateMediaRouter>()),
- networking_config_delegate_(new NetworkingConfigDelegateChromeos()),
+ : networking_config_delegate_(new NetworkingConfigDelegateChromeos()),
weak_ptr_factory_(this) {
// Register notifications on construction so that events such as
// PROFILE_CREATED do not get missed if they happen before Initialize().
@@ -543,10 +543,6 @@ bool SystemTrayDelegateChromeOS::GetBluetoothDiscovering() {
bluetooth_discovery_session_->IsActive();
}
-ash::CastConfigDelegate* SystemTrayDelegateChromeOS::GetCastConfigDelegate() {
- return cast_config_delegate_.get();
-}
-
ash::NetworkingConfigDelegate*
SystemTrayDelegateChromeOS::GetNetworkingConfigDelegate() const {
return networking_config_delegate_.get();

Powered by Google App Engine
This is Rietveld 408576698