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

Unified Diff: ash/system/locale/locale_notification_controller.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/locale/locale_notification_controller.h
diff --git a/ash/system/locale/locale_notification_controller.h b/ash/system/locale/locale_notification_controller.h
deleted file mode 100644
index da579f8914560210cd3a603d57fc68725d278ed9..0000000000000000000000000000000000000000
--- a/ash/system/locale/locale_notification_controller.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 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_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_
-#define ASH_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_
-
-#include <string>
-
-#include "ash/system/locale/locale_observer.h"
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-
-namespace ash {
-
-// Observes the locale change and creates rich notification for the change.
-class LocaleNotificationController : public LocaleObserver {
- public:
- LocaleNotificationController();
- ~LocaleNotificationController() override;
-
- private:
- // Overridden from LocaleObserver.
- void OnLocaleChanged(LocaleObserver::Delegate* delegate,
- const std::string& cur_locale,
- const std::string& from_locale,
- const std::string& to_locale) override;
-
- std::string cur_locale_;
- std::string from_locale_;
- std::string to_locale_;
-
- DISALLOW_COPY_AND_ASSIGN(LocaleNotificationController);
-};
-
-} // namespace ash
-
-#endif // ASH_SYSTEM_LOCALE_LOCALE_NOTIFICATION_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698