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

Side by Side Diff: include/libplatform/libplatform.h

Issue 1749663002: [api] Assume that v8/include is in the include path for all public headers (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 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
« no previous file with comments | « BUILD.gn ('k') | include/v8-experimental.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_LIBPLATFORM_LIBPLATFORM_H_ 5 #ifndef V8_LIBPLATFORM_LIBPLATFORM_H_
6 #define V8_LIBPLATFORM_LIBPLATFORM_H_ 6 #define V8_LIBPLATFORM_LIBPLATFORM_H_
7 7
8 #include "include/v8-platform.h" 8 #include "v8-platform.h" // NOLINT(build/include)
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace platform { 11 namespace platform {
12 12
13 /** 13 /**
14 * Returns a new instance of the default v8::Platform implementation. 14 * Returns a new instance of the default v8::Platform implementation.
15 * 15 *
16 * The caller will take ownership of the returned pointer. |thread_pool_size| 16 * The caller will take ownership of the returned pointer. |thread_pool_size|
17 * is the number of worker threads to allocate for background jobs. If a value 17 * is the number of worker threads to allocate for background jobs. If a value
18 * of zero is passed, a suitable default based on the current number of 18 * of zero is passed, a suitable default based on the current number of
(...skipping 10 matching lines...) Expand all
29 * not block if no task is pending. The |platform| has to be created using 29 * not block if no task is pending. The |platform| has to be created using
30 * |CreateDefaultPlatform|. 30 * |CreateDefaultPlatform|.
31 */ 31 */
32 bool PumpMessageLoop(v8::Platform* platform, v8::Isolate* isolate); 32 bool PumpMessageLoop(v8::Platform* platform, v8::Isolate* isolate);
33 33
34 34
35 } // namespace platform 35 } // namespace platform
36 } // namespace v8 36 } // namespace v8
37 37
38 #endif // V8_LIBPLATFORM_LIBPLATFORM_H_ 38 #endif // V8_LIBPLATFORM_LIBPLATFORM_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | include/v8-experimental.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698