Chromium Code Reviews| Index: public/web/WebDOMActivityLogger.h |
| diff --git a/public/web/WebDOMActivityLogger.h b/public/web/WebDOMActivityLogger.h |
| index a2955ee104993f07bb6233afcb09850860fe7300..7350ec2f79f2e5bdf9fad5e27ee2e1bf6d719722 100644 |
| --- a/public/web/WebDOMActivityLogger.h |
| +++ b/public/web/WebDOMActivityLogger.h |
| @@ -48,12 +48,20 @@ public: |
| virtual void logMethod(const WebString& apiName, int argc, const v8::Handle<v8::Value>* argv, const WebURL& url, const WebString& title) { } |
| }; |
| -// Checks if a logger already exists for the world identified |
| -// by worldId (worldId may be 0 identifying the main world). |
| -BLINK_EXPORT bool hasDOMActivityLogger(int worldId); |
| +// Checks if a logger already exists for the world identified by worldId and |
| +// extensionID (worldId may be 0 identifying the main world). Extension ID is |
|
Jeffrey Yasskin
2014/05/08 00:17:34
Extension ID isn't mentioned in the signature.
pmarch
2014/05/08 01:14:05
Done.
|
| +// used only in the case of main world and ignored otherwise. |
| +BLINK_EXPORT bool hasDOMActivityLogger(int worldId, const WebString&); |
| + |
| +// Checks if the provided logger is non-null and if so associates it with the |
| +// world identified by worldId and extension ID (worldId may be 0 identifying |
| +// the main world). The extension ID is ignored for other worlds than the main |
| +// one. |
| +BLINK_EXPORT void setDOMActivityLogger(int worldId, const WebString&, WebDOMActivityLogger*); |
| -// Checks if the provided logger is non-null and if so associates it |
| -// with the world identified by worldId (worldId may be 0 identifying the main world). |
| +// TODO(pmarch): remove the following two methods after modifying Chrome to |
| +// use the above ones. |
| +BLINK_EXPORT bool hasDOMActivityLogger(int worldId); |
| BLINK_EXPORT void setDOMActivityLogger(int worldId, WebDOMActivityLogger*); |
| } // namespace blink |