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

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

Issue 10443004: Move common notification layout to base class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 7 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 | « ash/system/tray/tray_views.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/locale_change_guard.cc
diff --git a/chrome/browser/chromeos/locale_change_guard.cc b/chrome/browser/chromeos/locale_change_guard.cc
index 39e1c17a0a1ed8943e9cfd9306ab5440950d4f43..1344aaaab5af49079f2ebf426f5c3ab83c42b770 100644
--- a/chrome/browser/chromeos/locale_change_guard.cc
+++ b/chrome/browser/chromeos/locale_change_guard.cc
@@ -65,8 +65,7 @@ void LocaleChangeGuard::OnLogin() {
}
void LocaleChangeGuard::RevertLocaleChange() {
- if (note_ == NULL ||
- profile_ == NULL ||
+ if (profile_ == NULL ||
from_locale_.empty() ||
to_locale_.empty()) {
NOTREACHED();
@@ -191,8 +190,7 @@ void LocaleChangeGuard::Check() {
}
void LocaleChangeGuard::AcceptLocaleChange() {
- if (note_ == NULL ||
- profile_ == NULL ||
+ if (profile_ == NULL ||
from_locale_.empty() ||
to_locale_.empty()) {
NOTREACHED();
« no previous file with comments | « ash/system/tray/tray_views.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698