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

Unified Diff: ash/common/system/locale/locale_observer.h

Issue 2420753002: ash: Use mojo LocaleNotificationController interface. (Closed)
Patch Set: Uniquify callbacks 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/locale/locale_observer.h
diff --git a/ash/common/system/locale/locale_observer.h b/ash/common/system/locale/locale_observer.h
deleted file mode 100644
index 96b76d4dc45bf44f249c95da845c4601f67cab4d..0000000000000000000000000000000000000000
--- a/ash/common/system/locale/locale_observer.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_COMMON_SYSTEM_LOCALE_LOCALE_OBSERVER_H_
-#define ASH_COMMON_SYSTEM_LOCALE_LOCALE_OBSERVER_H_
-
-#include <string>
-
-#include "ash/ash_export.h"
-
-namespace ash {
-
-class ASH_EXPORT LocaleObserver {
- public:
- class Delegate {
- public:
- virtual ~Delegate() {}
-
- virtual void AcceptLocaleChange() = 0;
- virtual void RevertLocaleChange() = 0;
- };
-
- virtual ~LocaleObserver() {}
-
- virtual void OnLocaleChanged(Delegate* delegate,
- const std::string& cur_locale,
- const std::string& from_locale,
- const std::string& to_locale) = 0;
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_LOCALE_LOCALE_OBSERVER_H_
« no previous file with comments | « ash/common/system/locale/locale_notification_controller.cc ('k') | ash/common/system/tray/system_tray_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698