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

Unified Diff: ash/common/system/tray/system_tray_delegate.h

Issue 2427913003: Use mojo volume interfaces for mash and classic ash. (Closed)
Patch Set: Split volume and system events observers; only hook up volume. Created 4 years, 2 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: ash/common/system/tray/system_tray_delegate.h
diff --git a/ash/common/system/tray/system_tray_delegate.h b/ash/common/system/tray/system_tray_delegate.h
index cc88325d86aa9caa0c6bb0b2ead04080598d0d82..da6beec02f819673ec735ee769da817bca55a25e 100644
--- a/ash/common/system/tray/system_tray_delegate.h
+++ b/ash/common/system/tray/system_tray_delegate.h
@@ -11,7 +11,6 @@
#include "ash/ash_export.h"
#include "ash/common/login_status.h"
-#include "ash/common/system/volume_control_delegate.h"
#include "base/callback_forward.h"
#include "base/files/file_path.h"
#include "base/i18n/time_formatting.h"
@@ -101,7 +100,7 @@ using RebootOnShutdownCallback = base::Callback<void(bool)>;
// (browser) specific tasks. For non application specific tasks, where possible,
// components/, chromeos/, device/, etc., code should be used directly. If more
// than one related method is being added, consider adding an additional
-// specific delegate (e.g. VolumeControlDelegate).
+// specific delegate (e.g. VPNDelegate).
//
// These methods should all have trivial default implementations for platforms
// that do not implement the method (e.g. return false or nullptr). This
@@ -223,13 +222,6 @@ class ASH_EXPORT SystemTrayDelegate {
// Returns NetworkingConfigDelegate. May return nullptr.
virtual NetworkingConfigDelegate* GetNetworkingConfigDelegate() const;
- // Returns VolumeControlDelegate. May return nullptr.
- virtual VolumeControlDelegate* GetVolumeControlDelegate() const;
-
- // Sets the VolumeControlDelegate.
- virtual void SetVolumeControlDelegate(
- std::unique_ptr<VolumeControlDelegate> delegate);
-
// Retrieves the session start time. Returns |false| if the time is not set.
virtual bool GetSessionStartTime(base::TimeTicks* session_start_time);
« no previous file with comments | « ash/common/system/tray/default_system_tray_delegate.cc ('k') | ash/common/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698