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

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

Issue 424983002: Stop using WebCore namespace in generated code (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
Index: Source/core/inspector/CodeGeneratorInstrumentation.py
diff --git a/Source/core/inspector/CodeGeneratorInstrumentation.py b/Source/core/inspector/CodeGeneratorInstrumentation.py
index 6aab4f4df55814a38bb6ada7d99f35c4ae81a73f..c7e8e98e8662305cf255d8e2b02cbd371555f5d6 100755
--- a/Source/core/inspector/CodeGeneratorInstrumentation.py
+++ b/Source/core/inspector/CodeGeneratorInstrumentation.py
@@ -39,14 +39,14 @@ template_h = string.Template("""// Code generated from InspectorInstrumentation.
${includes}
-namespace WebCore {
+namespace blink {
namespace InspectorInstrumentation {
$methods
} // namespace InspectorInstrumentation
-} // namespace WebCore
+} // namespace blink
#endif // !defined(${file_name}_h)
""")
@@ -82,7 +82,7 @@ template_cpp = string.Template("""// Code generated from InspectorInstrumentatio
${includes}
-namespace WebCore {
+namespace blink {
${extra_definitions}
namespace InspectorInstrumentation {
@@ -90,7 +90,7 @@ $methods
} // namespace InspectorInstrumentation
-} // namespace WebCore
+} // namespace blink
""")
template_outofline = string.Template("""
@@ -121,7 +121,7 @@ template_instrumenting_agents_h = string.Template("""// Code generated from Insp
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
-namespace WebCore {
+namespace blink {
${forward_list}
« no previous file with comments | « Source/core/inspector/CodeGeneratorInspectorStrings.py ('k') | Source/core/inspector/generate-inspector-protocol-version » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698