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

Side by Side Diff: extensions/common/extension_l10n_util.cc

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 years 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
« no previous file with comments | « extensions/common/extension_builder.h ('k') | extensions/common/extension_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "extensions/common/extension_l10n_util.h" 5 #include "extensions/common/extension_l10n_util.h"
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <set> 10 #include <set>
9 #include <string> 11 #include <string>
10 #include <vector> 12 #include <vector>
11 13
12 #include "base/files/file_enumerator.h" 14 #include "base/files/file_enumerator.h"
13 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
14 #include "base/json/json_file_value_serializer.h" 16 #include "base/json/json_file_value_serializer.h"
15 #include "base/logging.h" 17 #include "base/logging.h"
16 #include "base/memory/linked_ptr.h" 18 #include "base/memory/linked_ptr.h"
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 ScopedLocaleForTest::ScopedLocaleForTest(const std::string& locale) 458 ScopedLocaleForTest::ScopedLocaleForTest(const std::string& locale)
457 : locale_(extension_l10n_util::CurrentLocaleOrDefault()) { 459 : locale_(extension_l10n_util::CurrentLocaleOrDefault()) {
458 extension_l10n_util::SetProcessLocale(locale); 460 extension_l10n_util::SetProcessLocale(locale);
459 } 461 }
460 462
461 ScopedLocaleForTest::~ScopedLocaleForTest() { 463 ScopedLocaleForTest::~ScopedLocaleForTest() {
462 extension_l10n_util::SetProcessLocale(locale_); 464 extension_l10n_util::SetProcessLocale(locale_);
463 } 465 }
464 466
465 } // namespace extension_l10n_util 467 } // namespace extension_l10n_util
OLDNEW
« no previous file with comments | « extensions/common/extension_builder.h ('k') | extensions/common/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698