Index: Source/bindings/v8/V8DOMActivityLogger.h |
diff --git a/Source/bindings/v8/V8DOMActivityLogger.h b/Source/bindings/v8/V8DOMActivityLogger.h |
index 54c653d665bc1083822a656fb78358120700faec..d62930c804f885c670d33e1be92fa2463f1e6dbd 100644 |
--- a/Source/bindings/v8/V8DOMActivityLogger.h |
+++ b/Source/bindings/v8/V8DOMActivityLogger.h |
@@ -37,6 +37,8 @@ |
namespace WebCore { |
+class KURL; |
+ |
class V8DOMActivityLogger { |
public: |
virtual ~V8DOMActivityLogger() { } |
@@ -44,9 +46,13 @@ public: |
virtual void log(const String& apiName, int argc, const v8::Handle<v8::Value>* argv, const String& extraInfo) { } |
// Associates a logger with the world identified by worldId (worlId may be 0 |
- // identifying the main world). |
- static void setActivityLogger(int worldId, PassOwnPtr<V8DOMActivityLogger>); |
- static V8DOMActivityLogger* activityLogger(int worldId); |
+ // identifying the main world) and extension ID. Extension ID is used to |
+ // identify a logger for main world only (worldId == 0). If the world is not |
+ // a main world, an extension ID is ignored. |
mvrable
2014/04/29 20:15:32
Maybe it's worth adding some text in the comment h
pmarch
2014/05/07 15:28:24
Done.
|
+ static void setActivityLogger(int worldId, const String&, PassOwnPtr<V8DOMActivityLogger>); |
+ static V8DOMActivityLogger* activityLogger(int worldId, const String&); |
+ static V8DOMActivityLogger* activityLogger(int worldId, const KURL&); |
+ |
}; |
} // namespace WebCore |