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

Unified Diff: ash/system/tray/system_tray_notifier.h

Issue 2082193002: mash: Migrate locale observer and notification to common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Format Created 4 years, 6 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/system/tray/system_tray_notifier.h
diff --git a/ash/system/tray/system_tray_notifier.h b/ash/system/tray/system_tray_notifier.h
index 14a1381222ad8e39ad5410b6b668273186075b7f..e7f859ce8e81efda02f9be02ac6e65f8473f7bd0 100644
--- a/ash/system/tray/system_tray_notifier.h
+++ b/ash/system/tray/system_tray_notifier.h
@@ -13,7 +13,6 @@
#include "ash/ash_export.h"
#include "ash/system/audio/audio_observer.h"
#include "ash/system/chromeos/tray_tracing.h"
-#include "ash/system/locale/locale_observer.h"
#include "ash/system/user/user_observer.h"
#include "base/macros.h"
#include "base/observer_list.h"
@@ -46,9 +45,6 @@ class ASH_EXPORT SystemTrayNotifier {
void AddAudioObserver(AudioObserver* observer);
void RemoveAudioObserver(AudioObserver* observer);
- void AddLocaleObserver(LocaleObserver* observer);
- void RemoveLocaleObserver(LocaleObserver* observer);
-
void AddTracingObserver(TracingObserver* observer);
void RemoveTracingObserver(TracingObserver* observer);
@@ -95,10 +91,6 @@ class ASH_EXPORT SystemTrayNotifier {
void NotifyAudioActiveOutputNodeChanged();
void NotifyAudioActiveInputNodeChanged();
void NotifyTracingModeChanged(bool value);
- void NotifyLocaleChanged(LocaleObserver::Delegate* delegate,
- const std::string& cur_locale,
- const std::string& from_locale,
- const std::string& to_locale);
void NotifyUserUpdate();
void NotifyUserAddedToSession();
#if defined(OS_CHROMEOS)
@@ -123,7 +115,6 @@ class ASH_EXPORT SystemTrayNotifier {
private:
base::ObserverList<AudioObserver> audio_observers_;
- base::ObserverList<LocaleObserver> locale_observers_;
base::ObserverList<TracingObserver> tracing_observers_;
base::ObserverList<UserObserver> user_observers_;
#if defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698