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

Side by Side Diff: Source/WebCore/workers/WorkerReportingProxy.h

Issue 13646003: DevTools: Remove ENABLE(INSPECTOR) and ENABLE(JAVASCRIPT_DEBUGGER) from the code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 namespace WebCore { 39 namespace WebCore {
40 40
41 // APIs used by workers to report console activity. 41 // APIs used by workers to report console activity.
42 class WorkerReportingProxy { 42 class WorkerReportingProxy {
43 public: 43 public:
44 virtual ~WorkerReportingProxy() {} 44 virtual ~WorkerReportingProxy() {}
45 45
46 virtual void postExceptionToWorkerObject(const String& errorMessage, int lineNumber, const String& sourceURL) = 0; 46 virtual void postExceptionToWorkerObject(const String& errorMessage, int lineNumber, const String& sourceURL) = 0;
47 47
48 virtual void postConsoleMessageToWorkerObject(MessageSource, MessageLeve l, const String& message, int lineNumber, const String& sourceURL) = 0; 48 virtual void postConsoleMessageToWorkerObject(MessageSource, MessageLeve l, const String& message, int lineNumber, const String& sourceURL) = 0;
49 #if ENABLE(INSPECTOR)
50 virtual void postMessageToPageInspector(const String&) = 0; 49 virtual void postMessageToPageInspector(const String&) = 0;
51 virtual void updateInspectorStateCookie(const String&) = 0; 50 virtual void updateInspectorStateCookie(const String&) = 0;
52 #endif
53 // Invoked when close() is invoked on the worker context. 51 // Invoked when close() is invoked on the worker context.
54 virtual void workerContextClosed() = 0; 52 virtual void workerContextClosed() = 0;
55 53
56 // Invoked when the thread has stopped. 54 // Invoked when the thread has stopped.
57 virtual void workerContextDestroyed() = 0; 55 virtual void workerContextDestroyed() = 0;
58 }; 56 };
59 57
60 } // namespace WebCore 58 } // namespace WebCore
61 59
62 #endif // ENABLE(WORKERS) 60 #endif // ENABLE(WORKERS)
63 61
64 #endif // WorkerReportingProxy_h 62 #endif // WorkerReportingProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698