summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/locale_change_guard.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/locale_change_guard.h')
-rw-r--r--chrome/browser/chromeos/locale_change_guard.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/chrome/browser/chromeos/locale_change_guard.h b/chrome/browser/chromeos/locale_change_guard.h
index ed6fa43..0391761 100644
--- a/chrome/browser/chromeos/locale_change_guard.h
+++ b/chrome/browser/chromeos/locale_change_guard.h
@@ -8,8 +8,6 @@
#include "base/lazy_instance.h"
#include "base/scoped_ptr.h"
-#include "chrome/browser/chromeos/notifications/system_notification.h"
-#include "chrome/browser/notifications/notification_delegate.h"
#include "chrome/browser/profiles/profile.h"
class ListValue;
@@ -17,6 +15,8 @@ class TabContents;
namespace chromeos {
+class SystemNotification;
+
class LocaleChangeGuard {
public:
// When called first time for user profile: performs check whether
@@ -26,20 +26,7 @@ class LocaleChangeGuard {
static void Check(TabContents* tab_contents);
private:
- class Delegate : public NotificationDelegate {
- public:
- explicit Delegate(chromeos::LocaleChangeGuard* master) : master_(master) {}
- void Close(bool by_user);
- void Display() {}
- void Error() {}
- void Click() {}
- std::string id() const;
-
- private:
- chromeos::LocaleChangeGuard* master_;
-
- DISALLOW_COPY_AND_ASSIGN(Delegate);
- };
+ class Delegate;
LocaleChangeGuard();
void CheckLocaleChange(TabContents* tab_contents);