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

Unified Diff: chrome/browser/chromeos/locale_change_guard.h

Issue 6257008: Hide private stuff into .cc file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/locale_change_guard.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/locale_change_guard.h
diff --git a/chrome/browser/chromeos/locale_change_guard.h b/chrome/browser/chromeos/locale_change_guard.h
index ed6fa430d947df01f8dafa0b36c1a0618fbdc55a..03917611f4b83082468ac2c2e55235793d0b4a09 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);
« no previous file with comments | « no previous file | chrome/browser/chromeos/locale_change_guard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698