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

Unified Diff: Source/core/inspector/CodeGeneratorInspectorStrings.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/CodeGeneratorInspectorStrings.py
diff --git a/Source/core/inspector/CodeGeneratorInspectorStrings.py b/Source/core/inspector/CodeGeneratorInspectorStrings.py
index f9b812769c4df54e417243cc1a22363352b26947..83705c5c7b23d91b8ed76cc88214b8b7546a0b70 100644
--- a/Source/core/inspector/CodeGeneratorInspectorStrings.py
+++ b/Source/core/inspector/CodeGeneratorInspectorStrings.py
@@ -102,7 +102,7 @@ frontend_h = (
#include "wtf/PassRefPtr.h"
#include "wtf/text/WTFString.h"
-namespace WebCore {
+namespace blink {
typedef String ErrorString;
@@ -116,7 +116,7 @@ private:
InspectorFrontendChannel* m_inspectorFrontendChannel;
${fieldDeclarations}};
-} // namespace WebCore
+} // namespace blink
#endif // !defined(InspectorFrontend_h)
""")
@@ -130,7 +130,7 @@ backend_h = (
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
-namespace WebCore {
+namespace blink {
class JSONObject;
class JSONArray;
@@ -198,7 +198,7 @@ private:
static const size_t commandNamesIndex[];
};
-} // namespace WebCore
+} // namespace blink
#endif // !defined(InspectorBackendDispatcher_h)
@@ -216,7 +216,7 @@ backend_cpp = (
#include "wtf/text/CString.h"
#include "wtf/text/WTFString.h"
-namespace WebCore {
+namespace blink {
const char InspectorBackendDispatcher::commandNames[] = {
$methodNameDeclarations
@@ -508,7 +508,7 @@ void InspectorBackendDispatcher::CallbackBase::sendIfActive(PassRefPtr<JSONObjec
m_alreadySent = true;
}
-} // namespace WebCore
+} // namespace blink
""")
@@ -523,7 +523,7 @@ frontend_cpp = (
#include "wtf/text/CString.h"
#include "wtf/text/WTFString.h"
-namespace WebCore {
+namespace blink {
InspectorFrontend::InspectorFrontend(InspectorFrontendChannel* inspectorFrontendChannel)
: m_inspectorFrontendChannel(inspectorFrontendChannel)
@@ -533,7 +533,7 @@ InspectorFrontend::InspectorFrontend(InspectorFrontendChannel* inspectorFrontend
$methods
-} // namespace WebCore
+} // namespace blink
""")
@@ -546,7 +546,7 @@ typebuilder_h = (
#include "wtf/Assertions.h"
#include "wtf/PassRefPtr.h"
-namespace WebCore {
+namespace blink {
namespace TypeBuilder {
@@ -841,7 +841,7 @@ ${typeBuilders}
} // namespace TypeBuilder
-} // namespace WebCore
+} // namespace blink
#endif // !defined(InspectorTypeBuilder_h)
@@ -855,7 +855,7 @@ typebuilder_cpp = (
#include "InspectorTypeBuilder.h"
#include "wtf/text/CString.h"
-namespace WebCore {
+namespace blink {
namespace TypeBuilder {
@@ -890,7 +890,7 @@ $validatorCode
#endif // $validatorIfdefName
-} // namespace WebCore
+} // namespace blink
""")
« no previous file with comments | « Source/core/html/parser/create-html-entity-table ('k') | Source/core/inspector/CodeGeneratorInstrumentation.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698