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

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

Issue 1544283002: Clean up header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/aura/window_unittest.cc ('k') | ui/base/win/accessibility_ids_win.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 "ui/base/l10n/formatter.h" 5 #include "ui/base/l10n/formatter.h"
6 6
7 #include <limits.h>
8
7 #include <vector> 9 #include <vector>
8 10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
11 #include "third_party/icu/source/common/unicode/unistr.h" 13 #include "third_party/icu/source/common/unicode/unistr.h"
12 #include "third_party/icu/source/i18n/unicode/msgfmt.h" 14 #include "third_party/icu/source/i18n/unicode/msgfmt.h"
13 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
14 #include "ui/strings/grit/ui_strings.h" 16 #include "ui/strings/grit/ui_strings.h"
15 17
16 namespace ui { 18 namespace ui {
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 314
313 void FormatterContainer::Shutdown() { 315 void FormatterContainer::Shutdown() {
314 for (int format = 0; format < TimeFormat::FORMAT_COUNT; ++format) { 316 for (int format = 0; format < TimeFormat::FORMAT_COUNT; ++format) {
315 for (int length = 0; length < TimeFormat::LENGTH_COUNT; ++length) { 317 for (int length = 0; length < TimeFormat::LENGTH_COUNT; ++length) {
316 formatter_[format][length].reset(); 318 formatter_[format][length].reset();
317 } 319 }
318 } 320 }
319 } 321 }
320 322
321 } // namespace ui 323 } // namespace ui
OLDNEW
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/base/win/accessibility_ids_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698