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

Unified Diff: src/natives.h

Issue 772853003: Cleanup: Remove NativesCollection<.>::*Raw* methods. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compile. Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/d8.cc ('k') | src/natives-external.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/natives.h
diff --git a/src/natives.h b/src/natives.h
index 6ddedf02cabf3fcca4c71672be36d6dbf8e30457..7ce7213edf9623d44f6e86c226013d09aaf0b91a 100644
--- a/src/natives.h
+++ b/src/natives.h
@@ -12,10 +12,6 @@ namespace v8 { class StartupData; } // Forward declaration.
namespace v8 {
namespace internal {
-typedef bool (*NativeSourceCallback)(Vector<const char> name,
- Vector<const char> source,
- int index);
-
enum NativeType {
CORE, EXPERIMENTAL, D8, TEST
};
@@ -33,11 +29,9 @@ class NativesCollection {
// non-debugger scripts have an index in the interval [GetDebuggerCount(),
// GetNativesCount()).
static int GetIndex(const char* name);
- static int GetRawScriptsSize();
- static Vector<const char> GetRawScriptSource(int index);
+ static Vector<const char> GetScriptSource(int index);
static Vector<const char> GetScriptName(int index);
- static Vector<const byte> GetScriptsSource();
- static void SetRawScriptsSource(Vector<const char> raw_source);
+ static Vector<const char> GetScriptsSource();
};
typedef NativesCollection<CORE> Natives;
« no previous file with comments | « src/d8.cc ('k') | src/natives-external.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698