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

Side by Side Diff: include/v8.h

Issue 209323014: Roll ICU 239289:258359 and add support for external ICU data tables (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | « Makefile ('k') | src/api.cc » ('j') | src/icu_util.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 4936 matching lines...) Expand 10 before | Expand all | Expand 10 after
4947 * Optional notification that a context has been disposed. V8 uses 4947 * Optional notification that a context has been disposed. V8 uses
4948 * these notifications to guide the GC heuristic. Returns the number 4948 * these notifications to guide the GC heuristic. Returns the number
4949 * of context disposals - including this one - since the last time 4949 * of context disposals - including this one - since the last time
4950 * V8 had a chance to clean up. 4950 * V8 had a chance to clean up.
4951 */ 4951 */
4952 static int ContextDisposedNotification(); 4952 static int ContextDisposedNotification();
4953 4953
4954 /** 4954 /**
4955 * Initialize the ICU library bundled with V8. The embedder should only 4955 * Initialize the ICU library bundled with V8. The embedder should only
4956 * invoke this method when using the bundled ICU. Returns true on success. 4956 * invoke this method when using the bundled ICU. Returns true on success.
4957 *
4958 * If V8 was compiled with the ICU data in an external file, the location
4959 * of the data file as to be passed.
danno 2014/03/25 08:47:21 has to be provided
jochen (gone - plz use gerrit) 2014/03/25 12:04:11 Done.
4957 */ 4960 */
4958 static bool InitializeICU(); 4961 static bool InitializeICU(const char* icu_data_file = NULL);
4959 4962
4960 /** 4963 /**
4961 * Sets the v8::Platform to use. This should be invoked before V8 is 4964 * Sets the v8::Platform to use. This should be invoked before V8 is
4962 * initialized. 4965 * initialized.
4963 */ 4966 */
4964 static void InitializePlatform(Platform* platform); 4967 static void InitializePlatform(Platform* platform);
4965 4968
4966 /** 4969 /**
4967 * Clears all references to the v8::Platform. This should be invoked after 4970 * Clears all references to the v8::Platform. This should be invoked after
4968 * V8 was disposed. 4971 * V8 was disposed.
(...skipping 1663 matching lines...) Expand 10 before | Expand all | Expand 10 after
6632 */ 6635 */
6633 6636
6634 6637
6635 } // namespace v8 6638 } // namespace v8
6636 6639
6637 6640
6638 #undef TYPE_CHECK 6641 #undef TYPE_CHECK
6639 6642
6640 6643
6641 #endif // V8_H_ 6644 #endif // V8_H_
OLDNEW
« no previous file with comments | « Makefile ('k') | src/api.cc » ('j') | src/icu_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698