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

Side by Side Diff: ui/base/l10n/formatter.cc

Issue 499163002: Use qualified path for grit/ui_strings.h (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 | « ui/base/dragdrop/os_exchange_data_provider_win.cc ('k') | ui/base/l10n/time_format.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 "ui/base/l10n/formatter.h" 5 #include "ui/base/l10n/formatter.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "grit/ui_strings.h"
11 #include "third_party/icu/source/common/unicode/unistr.h" 10 #include "third_party/icu/source/common/unicode/unistr.h"
12 #include "ui/base/l10n/l10n_util_plurals.h" 11 #include "ui/base/l10n/l10n_util_plurals.h"
12 #include "ui/strings/grit/ui_strings.h"
13 13
14 namespace ui { 14 namespace ui {
15 15
16 UI_BASE_EXPORT bool formatter_force_fallback = false; 16 UI_BASE_EXPORT bool formatter_force_fallback = false;
17 17
18 static const size_t kNumberPluralities = 6; 18 static const size_t kNumberPluralities = 6;
19 struct Pluralities { 19 struct Pluralities {
20 int ids[kNumberPluralities]; 20 int ids[kNumberPluralities];
21 const char* fallback_one; 21 const char* fallback_one;
22 const char* fallback_other; 22 const char* fallback_other;
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 318
319 void FormatterContainer::Shutdown() { 319 void FormatterContainer::Shutdown() {
320 for (int format = 0; format < TimeFormat::FORMAT_COUNT; ++format) { 320 for (int format = 0; format < TimeFormat::FORMAT_COUNT; ++format) {
321 for (int length = 0; length < TimeFormat::LENGTH_COUNT; ++length) { 321 for (int length = 0; length < TimeFormat::LENGTH_COUNT; ++length) {
322 formatter_[format][length].reset(); 322 formatter_[format][length].reset();
323 } 323 }
324 } 324 }
325 } 325 }
326 326
327 } // namespace ui 327 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_win.cc ('k') | ui/base/l10n/time_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698