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

Side by Side Diff: base/i18n/time_formatting.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « base/i18n/string_search.h ('k') | base/id_map.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Basic time formatting methods. These methods use the current locale 5 // Basic time formatting methods. These methods use the current locale
6 // formatting for displaying the time. 6 // formatting for displaying the time.
7 7
8 #ifndef BASE_I18N_TIME_FORMATTING_H_ 8 #ifndef BASE_I18N_TIME_FORMATTING_H_
9 #define BASE_I18N_TIME_FORMATTING_H_ 9 #define BASE_I18N_TIME_FORMATTING_H_
10 #pragma once
11 10
12 #include "base/i18n/base_i18n_export.h" 11 #include "base/i18n/base_i18n_export.h"
13 #include "base/string16.h" 12 #include "base/string16.h"
14 13
15 namespace base { 14 namespace base {
16 15
17 class Time; 16 class Time;
18 17
19 // Argument type used to specify the hour clock type. 18 // Argument type used to specify the hour clock type.
20 enum HourClockType { 19 enum HourClockType {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 BASE_I18N_EXPORT string16 TimeFormatFriendlyDate(const Time& time); 57 BASE_I18N_EXPORT string16 TimeFormatFriendlyDate(const Time& time);
59 58
60 // Gets the hour clock type of the current locale. e.g. 59 // Gets the hour clock type of the current locale. e.g.
61 // k12HourClock (en-US). 60 // k12HourClock (en-US).
62 // k24HourClock (en-GB). 61 // k24HourClock (en-GB).
63 BASE_I18N_EXPORT HourClockType GetHourClockType(); 62 BASE_I18N_EXPORT HourClockType GetHourClockType();
64 63
65 } // namespace base 64 } // namespace base
66 65
67 #endif // BASE_I18N_TIME_FORMATTING_H_ 66 #endif // BASE_I18N_TIME_FORMATTING_H_
OLDNEW
« no previous file with comments | « base/i18n/string_search.h ('k') | base/id_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698