OLD | NEW |
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 #ifndef CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ | 5 #ifndef CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ |
6 #define CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ | 6 #define CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
9 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
10 #include "third_party/icu/public/common/unicode/unistr.h" | 12 #include "third_party/icu/public/common/unicode/unistr.h" |
11 #include "third_party/icu/public/i18n/unicode/gregocal.h" | 13 #include "third_party/icu/public/i18n/unicode/gregocal.h" |
12 #include "ui/base/ime/text_input_type.h" | 14 #include "ui/base/ime/text_input_type.h" |
13 | 15 |
14 namespace WebKit { | 16 namespace WebKit { |
15 struct WebDateTimeChooserParams; | 17 struct WebDateTimeChooserParams; |
16 } // namespace WebKit | 18 } // namespace WebKit |
17 | 19 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 int second_; | 58 int second_; |
57 const icu::UnicodeString* pattern_; | 59 const icu::UnicodeString* pattern_; |
58 std::string formatted_string_; | 60 std::string formatted_string_; |
59 | 61 |
60 DISALLOW_COPY_AND_ASSIGN(DateTimeFormatter); | 62 DISALLOW_COPY_AND_ASSIGN(DateTimeFormatter); |
61 }; | 63 }; |
62 | 64 |
63 } // namespace content | 65 } // namespace content |
64 | 66 |
65 #endif // CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ | 67 #endif // CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ |
OLD | NEW |