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

Side by Side Diff: chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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 (c) 2012 The Chromium Authors. All rights reserved. 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 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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/i18n/rtl.h" 6 #include "base/i18n/rtl.h"
7 #include "base/macros.h"
7 #include "base/path_service.h" 8 #include "base/path_service.h"
8 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/common/chrome_paths.h" 10 #include "chrome/common/chrome_paths.h"
10 #include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h" 11 #include "chrome/common/extensions/manifest_tests/chrome_manifest_test.h"
11 #include "components/crx_file/id_util.h" 12 #include "components/crx_file/id_util.h"
12 #include "extensions/common/extension.h" 13 #include "extensions/common/extension.h"
13 #include "extensions/common/features/simple_feature.h" 14 #include "extensions/common/features/simple_feature.h"
14 #include "extensions/common/manifest_constants.h" 15 #include "extensions/common/manifest_constants.h"
15 #include "extensions/common/manifest_handlers/options_page_info.h" 16 #include "extensions/common/manifest_handlers/options_page_info.h"
16 #include "extensions/common/switches.h" 17 #include "extensions/common/switches.h"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 173
173 localized_name = base::WideToUTF16(L"Dictionary (\x05D1\x05D2" L" Google)"); 174 localized_name = base::WideToUTF16(L"Dictionary (\x05D1\x05D2" L" Google)");
174 base::i18n::AdjustStringForLocaleDirection(&localized_name); 175 base::i18n::AdjustStringForLocaleDirection(&localized_name);
175 EXPECT_EQ(localized_name, base::UTF8ToUTF16(extension->name())); 176 EXPECT_EQ(localized_name, base::UTF8ToUTF16(extension->name()));
176 177
177 // Reset locale. 178 // Reset locale.
178 base::i18n::SetICUDefaultLocale(locale); 179 base::i18n::SetICUDefaultLocale(locale);
179 } 180 }
180 181
181 } // namespace extensions 182 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698