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

Side by Side Diff: content/renderer/date_time_formatter.cc

Issue 16408017: Use a direct include of utf_string_conversions.h in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "content/renderer/date_time_formatter.h" 5 #include "content/renderer/date_time_formatter.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "third_party/WebKit/public/platform/WebCString.h" 9 #include "third_party/WebKit/public/platform/WebCString.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDateTimeChooserPar ams.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDateTimeChooserPar ams.h"
11 #include "third_party/icu/public/i18n/unicode/smpdtfmt.h" 11 #include "third_party/icu/public/i18n/unicode/smpdtfmt.h"
12 12
13 13
14 namespace content { 14 namespace content {
15 15
16 void DateTimeFormatter::CreatePatternMap() { 16 void DateTimeFormatter::CreatePatternMap() {
17 // Initialize all the UI elements with empty patterns, 17 // Initialize all the UI elements with empty patterns,
18 // then fill in the ones that are actually date/time inputs and 18 // then fill in the ones that are actually date/time inputs and
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 void DateTimeFormatter::ClearAll() { 185 void DateTimeFormatter::ClearAll() {
186 year_ = 0; 186 year_ = 0;
187 month_ = 0; 187 month_ = 0;
188 day_ = 0; 188 day_ = 0;
189 hour_ = 0; 189 hour_ = 0;
190 minute_ = 0; 190 minute_ = 0;
191 second_ = 0; 191 second_ = 0;
192 } 192 }
193 193
194 } // namespace content 194 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/cpp_bound_class_unittest.cc ('k') | content/renderer/devtools/devtools_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698