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

Unified Diff: Source/WebCore/workers/DefaultSharedWorkerRepository.cpp

Issue 13646003: DevTools: Remove ENABLE(INSPECTOR) and ENABLE(JAVASCRIPT_DEBUGGER) from the code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: comments addressed Created 7 years, 8 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/WebCore/testing/Internals.cpp ('k') | Source/WebCore/workers/WorkerContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/workers/DefaultSharedWorkerRepository.cpp
diff --git a/Source/WebCore/workers/DefaultSharedWorkerRepository.cpp b/Source/WebCore/workers/DefaultSharedWorkerRepository.cpp
index d6866a5e8397640817a915409fc6e759b63d42c5..b6e3c4f534863bd8986dbdb633e72085c7dda472 100644
--- a/Source/WebCore/workers/DefaultSharedWorkerRepository.cpp
+++ b/Source/WebCore/workers/DefaultSharedWorkerRepository.cpp
@@ -83,10 +83,8 @@ public:
// WorkerReportingProxy
virtual void postExceptionToWorkerObject(const String& errorMessage, int lineNumber, const String& sourceURL);
virtual void postConsoleMessageToWorkerObject(MessageSource, MessageLevel, const String& message, int lineNumber, const String& sourceURL);
-#if ENABLE(INSPECTOR)
virtual void postMessageToPageInspector(const String&);
virtual void updateInspectorStateCookie(const String&);
-#endif
virtual void workerContextClosed();
virtual void workerContextDestroyed();
@@ -200,7 +198,6 @@ void SharedWorkerProxy::postConsoleMessageToWorkerObject(MessageSource source, M
(*iter)->postTask(createCallbackTask(&postConsoleMessageTask, source, level, message, sourceURL, lineNumber));
}
-#if ENABLE(INSPECTOR)
void SharedWorkerProxy::postMessageToPageInspector(const String&)
{
notImplemented();
@@ -210,7 +207,6 @@ void SharedWorkerProxy::updateInspectorStateCookie(const String&)
{
notImplemented();
}
-#endif
void SharedWorkerProxy::workerContextClosed()
{
« no previous file with comments | « Source/WebCore/testing/Internals.cpp ('k') | Source/WebCore/workers/WorkerContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698