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

Side by Side Diff: extensions/common/extension_l10n_util_unittest.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
« no previous file with comments | « extensions/common/extension_l10n_util.cc ('k') | extensions/common/extension_paths.cc » ('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 "base/file_util.h"
6 #include "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/files/file_util.h"
7 #include "base/files/scoped_temp_dir.h" 7 #include "base/files/scoped_temp_dir.h"
8 #include "base/memory/linked_ptr.h" 8 #include "base/memory/linked_ptr.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/common/chrome_paths.h" 13 #include "chrome/common/chrome_paths.h"
14 #include "extensions/common/constants.h" 14 #include "extensions/common/constants.h"
15 #include "extensions/common/error_utils.h" 15 #include "extensions/common/error_utils.h"
16 #include "extensions/common/extension_l10n_util.h" 16 #include "extensions/common/extension_l10n_util.h"
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 std::vector<std::string> fallback_locales; 653 std::vector<std::string> fallback_locales;
654 extension_l10n_util::GetAllFallbackLocales("en_US", "all", &fallback_locales); 654 extension_l10n_util::GetAllFallbackLocales("en_US", "all", &fallback_locales);
655 ASSERT_EQ(3U, fallback_locales.size()); 655 ASSERT_EQ(3U, fallback_locales.size());
656 656
657 CHECK_EQ("en_US", fallback_locales[0]); 657 CHECK_EQ("en_US", fallback_locales[0]);
658 CHECK_EQ("en", fallback_locales[1]); 658 CHECK_EQ("en", fallback_locales[1]);
659 CHECK_EQ("all", fallback_locales[2]); 659 CHECK_EQ("all", fallback_locales[2]);
660 } 660 }
661 661
662 } // namespace 662 } // namespace
OLDNEW
« no previous file with comments | « extensions/common/extension_l10n_util.cc ('k') | extensions/common/extension_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698