| Index: third_party/WebKit/public/web/WebSharedWorkerConnector.h
|
| diff --git a/third_party/WebKit/public/web/WebSharedWorkerConnector.h b/third_party/WebKit/public/web/WebSharedWorkerConnector.h
|
| index 6d4fd92b67d37ab51069ad1078f307b633182ddd..c922c7b0811b485d3264a69f5afadfcdfe0e295d 100644
|
| --- a/third_party/WebKit/public/web/WebSharedWorkerConnector.h
|
| +++ b/third_party/WebKit/public/web/WebSharedWorkerConnector.h
|
| @@ -38,19 +38,22 @@ namespace blink {
|
| class WebMessagePortChannel;
|
|
|
| // This is the interface to conncect to SharedWorker.
|
| -// Since SharedWorkers communicate entirely through MessagePorts this interface only contains APIs for starting up a SharedWorker.
|
| +// Since SharedWorkers communicate entirely through MessagePorts this interface
|
| +// only contains APIs for starting up a SharedWorker.
|
| class WebSharedWorkerConnector {
|
| public:
|
| virtual ~WebSharedWorkerConnector() {}
|
|
|
| class ConnectListener {
|
| public:
|
| - // Invoked once the connect event has been sent so the caller can free this object.
|
| + // Invoked once the connect event has been sent so the caller can free this
|
| + // object.
|
| virtual void connected() = 0;
|
| virtual void scriptLoadFailed() = 0;
|
| };
|
|
|
| - // Sends a connect event to the SharedWorker context. The listener is invoked when this async operation completes.
|
| + // Sends a connect event to the SharedWorker context. The listener is invoked
|
| + // when this async operation completes.
|
| virtual void connect(WebMessagePortChannel*, ConnectListener*) = 0;
|
| };
|
|
|
|
|