Lower the audio device priority for bluetooth mic
[chromium-blink-merge.git] / ash / system / locale / locale_observer.h
blob939bd60faa979e018b7736ad9e82fe68191de278
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_SYSTEM_LOCALE_LOCALE_OBSERVER_H_
6 #define ASH_SYSTEM_LOCALE_LOCALE_OBSERVER_H_
8 #include "ash/ash_export.h"
10 namespace ash {
12 class ASH_EXPORT LocaleObserver {
13 public:
14 class Delegate {
15 public:
16 virtual ~Delegate() {}
18 virtual void AcceptLocaleChange() = 0;
19 virtual void RevertLocaleChange() = 0;
22 virtual ~LocaleObserver() {}
24 virtual void OnLocaleChanged(Delegate* delegate,
25 const std::string& cur_locale,
26 const std::string& from_locale,
27 const std::string& to_locale) = 0;
30 } // namespace ash
32 #endif // ASH_SYSTEM_LOCALE_LOCALE_OBSERVER_H_