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

Side by Side Diff: base/android/locale_utils.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/allocator/allocator_extension_thunks.h ('k') | base/at_exit.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 BASE_ANDROID_LOCALE_UTILS_H_ 5 #ifndef BASE_ANDROID_LOCALE_UTILS_H_
6 #define BASE_ANDROID_LOCALE_UTILS_H_ 6 #define BASE_ANDROID_LOCALE_UTILS_H_
7 #pragma once
8 7
9 #include <jni.h> 8 #include <jni.h>
10 9
11 #include <string> 10 #include <string>
12 11
13 #include "base/string16.h" 12 #include "base/string16.h"
14 13
15 namespace base { 14 namespace base {
16 namespace android { 15 namespace android {
17 16
18 // Return the current default locale of the device. 17 // Return the current default locale of the device.
19 std::string GetDefaultLocale(); 18 std::string GetDefaultLocale();
20 19
21 string16 GetDisplayNameForLocale(const std::string& locale, 20 string16 GetDisplayNameForLocale(const std::string& locale,
22 const std::string& display_locale); 21 const std::string& display_locale);
23 22
24 bool RegisterLocaleUtils(JNIEnv* env); 23 bool RegisterLocaleUtils(JNIEnv* env);
25 24
26 } // namespace android 25 } // namespace android
27 } // namespace base 26 } // namespace base
28 27
29 #endif // BASE_ANDROID_LOCALE_UTILS_H_ 28 #endif // BASE_ANDROID_LOCALE_UTILS_H_
OLDNEW
« no previous file with comments | « base/allocator/allocator_extension_thunks.h ('k') | base/at_exit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698