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

Unified Diff: Source/core/inspector/CodeGeneratorInstrumentation.py

Issue 397843009: Revert of DevTools: Support async call stacks for FileSystem API (part 1). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/AsyncCallStackTracker.cpp ('k') | Source/core/inspector/InspectorDebuggerAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/CodeGeneratorInstrumentation.py
diff --git a/Source/core/inspector/CodeGeneratorInstrumentation.py b/Source/core/inspector/CodeGeneratorInstrumentation.py
index 7be51dbfa81dda485dab5aa1c982377757c8e30b..c31371766163373f9e931040a4b25fb3a24b68cd 100755
--- a/Source/core/inspector/CodeGeneratorInstrumentation.py
+++ b/Source/core/inspector/CodeGeneratorInstrumentation.py
@@ -41,8 +41,6 @@
namespace WebCore {
-${forward_declarations}
-
namespace InspectorInstrumentation {
$methods
@@ -197,7 +195,6 @@
self.name = name
self.header_name = self.name + "Inl"
self.includes = [include_inspector_header("InspectorInstrumentation")]
- self.forward_declarations = []
self.declarations = []
for line in map(str.strip, source.split("\n")):
line = re.sub("\s{2,}", " ", line).strip() # Collapse whitespace
@@ -205,12 +202,9 @@
continue
if line[0] == "#":
self.includes.append(line)
- elif line.startswith("class "):
- self.forward_declarations.append(line)
else:
self.declarations.append(Method(line))
self.includes.sort()
- self.forward_declarations.sort()
def generate(self, cpp_lines, used_agents):
header_lines = []
@@ -223,7 +217,6 @@
return template_h.substitute(None,
file_name=self.header_name,
includes="\n".join(self.includes),
- forward_declarations="\n".join(self.forward_declarations),
methods="\n".join(header_lines))
« no previous file with comments | « Source/core/inspector/AsyncCallStackTracker.cpp ('k') | Source/core/inspector/InspectorDebuggerAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698