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

Side by Side Diff: include/v8.h

Issue 10878025: Add check to external string resource. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 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 | « no previous file | src/api.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 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 2521 matching lines...) Expand 10 before | Expand all | Expand 10 after
2532 }; 2532 };
2533 2533
2534 /** 2534 /**
2535 * Ignore 2535 * Ignore
2536 */ 2536 */
2537 class V8EXPORT Extension { // NOLINT 2537 class V8EXPORT Extension { // NOLINT
2538 public: 2538 public:
2539 // Note that the strings passed into this constructor must live as long 2539 // Note that the strings passed into this constructor must live as long
2540 // as the Extension itself. 2540 // as the Extension itself.
2541 Extension(const char* name, 2541 Extension(const char* name,
2542 const char* source = 0, 2542 const char* source,
2543 int dep_count = 0, 2543 int dep_count = 0,
2544 const char** deps = 0, 2544 const char** deps = 0,
2545 int source_length = -1); 2545 int source_length = -1);
2546 virtual ~Extension() { } 2546 virtual ~Extension() { }
2547 virtual v8::Handle<v8::FunctionTemplate> 2547 virtual v8::Handle<v8::FunctionTemplate>
2548 GetNativeFunction(v8::Handle<v8::String> name) { 2548 GetNativeFunction(v8::Handle<v8::String> name) {
2549 return v8::Handle<v8::FunctionTemplate>(); 2549 return v8::Handle<v8::FunctionTemplate>();
2550 } 2550 }
2551 2551
2552 const char* name() const { return name_; } 2552 const char* name() const { return name_; }
(...skipping 1983 matching lines...) Expand 10 before | Expand all | Expand 10 after
4536 4536
4537 4537
4538 } // namespace v8 4538 } // namespace v8
4539 4539
4540 4540
4541 #undef V8EXPORT 4541 #undef V8EXPORT
4542 #undef TYPE_CHECK 4542 #undef TYPE_CHECK
4543 4543
4544 4544
4545 #endif // V8_H_ 4545 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698