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

Side by Side Diff: src/icu_util.h

Issue 2042253002: [icu] Support loading data file from default location (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Format Created 4 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
« no previous file with comments | « src/d8.cc ('k') | src/icu_util.cc » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project 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 5
6 #ifndef V8_ICU_UTIL_H_ 6 #ifndef V8_ICU_UTIL_H_
7 #define V8_ICU_UTIL_H_ 7 #define V8_ICU_UTIL_H_
8 8
9 namespace v8 { 9 namespace v8 {
10 10
11 namespace internal { 11 namespace internal {
12 12
13 // Call this function to load ICU's data tables for the current process. This 13 // Call this function to load ICU's data tables for the current process. This
14 // function should be called before ICU is used. 14 // function should be called before ICU is used.
15 bool InitializeICU(const char* icu_data_file); 15 bool InitializeICU(const char* icu_data_file);
16 16
17 // Like above, but using the default icudtl.dat location if icu_data_file is
18 // not specified.
19 bool InitializeICUDefaultLocation(const char* exec_path,
20 const char* icu_data_file);
21
17 } // namespace internal 22 } // namespace internal
18 } // namespace v8 23 } // namespace v8
19 24
20 #endif // V8_ICU_UTIL_H_ 25 #endif // V8_ICU_UTIL_H_
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/icu_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698