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

Side by Side Diff: chrome/browser/chromeos/locale_change_guard_unittest.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/locale_change_guard.h" 5 #include "chrome/browser/chromeos/locale_change_guard.h"
6 6
7 #include <stddef.h>
7 #include <string.h> 8 #include <string.h>
8 9
9 #include "base/macros.h" 10 #include "base/macros.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
12 13
13 namespace { 14 namespace {
14 15
15 // These languages require user notification when locale is automatically 16 // These languages require user notification when locale is automatically
16 // switched between different regions within the same language. 17 // switched between different regions within the same language.
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 EXPECT_TRUE(notification_allowed ^ notification_skipped) 213 EXPECT_TRUE(notification_allowed ^ notification_skipped)
213 << "Language '" << language << "' (from locale '" << locale 214 << "Language '" << language << "' (from locale '" << locale
214 << "') must be in exactly one list: either " 215 << "') must be in exactly one list: either "
215 "kSkipShowNotificationLanguages (found=" << notification_skipped 216 "kSkipShowNotificationLanguages (found=" << notification_skipped
216 << ") or kShowNotificationLanguages (found=" << notification_allowed 217 << ") or kShowNotificationLanguages (found=" << notification_allowed
217 << ")."; 218 << ").";
218 } 219 }
219 } 220 }
220 221
221 } // namespace chromeos 222 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/locale_change_guard.cc ('k') | chrome/browser/chromeos/login/app_launch_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698