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

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

Issue 535673004: Gallery: Fix scrolling by touch in the mosaic view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 "extensions/common/extension_l10n_util.h" 5 #include "extensions/common/extension_l10n_util.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/file_util.h"
13 #include "base/files/file_enumerator.h" 12 #include "base/files/file_enumerator.h"
13 #include "base/files/file_util.h"
14 #include "base/json/json_file_value_serializer.h" 14 #include "base/json/json_file_value_serializer.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/memory/linked_ptr.h" 16 #include "base/memory/linked_ptr.h"
17 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
19 #include "base/values.h" 19 #include "base/values.h"
20 #include "extensions/common/constants.h" 20 #include "extensions/common/constants.h"
21 #include "extensions/common/error_utils.h" 21 #include "extensions/common/error_utils.h"
22 #include "extensions/common/file_util.h" 22 #include "extensions/common/file_util.h"
23 #include "extensions/common/manifest_constants.h" 23 #include "extensions/common/manifest_constants.h"
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 ScopedLocaleForTest::ScopedLocaleForTest(const std::string& locale) 453 ScopedLocaleForTest::ScopedLocaleForTest(const std::string& locale)
454 : locale_(extension_l10n_util::CurrentLocaleOrDefault()) { 454 : locale_(extension_l10n_util::CurrentLocaleOrDefault()) {
455 extension_l10n_util::SetProcessLocale(locale); 455 extension_l10n_util::SetProcessLocale(locale);
456 } 456 }
457 457
458 ScopedLocaleForTest::~ScopedLocaleForTest() { 458 ScopedLocaleForTest::~ScopedLocaleForTest() {
459 extension_l10n_util::SetProcessLocale(locale_); 459 extension_l10n_util::SetProcessLocale(locale_);
460 } 460 }
461 461
462 } // namespace extension_l10n_util 462 } // namespace extension_l10n_util
OLDNEW
« no previous file with comments | « extensions/browser/verified_contents_unittest.cc ('k') | extensions/common/extension_l10n_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698