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

Side by Side Diff: src/d8.h

Issue 27330: Unify the handling of the event and response JSON in developer shell debugger... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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 | « no previous file | src/d8.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 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 static void ReportException(TryCatch* try_catch); 81 static void ReportException(TryCatch* try_catch);
82 static void Initialize(); 82 static void Initialize();
83 static void OnExit(); 83 static void OnExit();
84 static int* LookupCounter(const char* name); 84 static int* LookupCounter(const char* name);
85 static void MapCounters(const char* name); 85 static void MapCounters(const char* name);
86 static Handle<String> ReadFile(const char* name); 86 static Handle<String> ReadFile(const char* name);
87 static void RunShell(); 87 static void RunShell();
88 static int Main(int argc, char* argv[]); 88 static int Main(int argc, char* argv[]);
89 static Handle<Array> GetCompletions(Handle<String> text, 89 static Handle<Array> GetCompletions(Handle<String> text,
90 Handle<String> full); 90 Handle<String> full);
91 static Handle<String> DebugEventToText(Handle<String> event); 91 static Handle<Object> DebugMessageDetails(Handle<String> message);
92 static Handle<Value> DebugCommandToJSONRequest(Handle<String> command); 92 static Handle<Value> DebugCommandToJSONRequest(Handle<String> command);
93 static Handle<Object> DebugResponseDetails(Handle<String> response);
94 93
95 static Handle<Value> Print(const Arguments& args); 94 static Handle<Value> Print(const Arguments& args);
96 static Handle<Value> Quit(const Arguments& args); 95 static Handle<Value> Quit(const Arguments& args);
97 static Handle<Value> Version(const Arguments& args); 96 static Handle<Value> Version(const Arguments& args);
98 static Handle<Value> Load(const Arguments& args); 97 static Handle<Value> Load(const Arguments& args);
99 98
100 static Handle<Context> utility_context() { return utility_context_; } 99 static Handle<Context> utility_context() { return utility_context_; }
101 100
102 static const char* kHistoryFileName; 101 static const char* kHistoryFileName;
103 static const char* kPrompt; 102 static const char* kPrompt;
(...skipping 28 matching lines...) Expand all
132 const char* name_; 131 const char* name_;
133 LineEditor* next_; 132 LineEditor* next_;
134 static LineEditor* first_; 133 static LineEditor* first_;
135 }; 134 };
136 135
137 136
138 } // namespace v8 137 } // namespace v8
139 138
140 139
141 #endif // V8_D8_H_ 140 #endif // V8_D8_H_
OLDNEW
« no previous file with comments | « no previous file | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698