OLD | NEW |
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 , m_url(url) | 60 , m_url(url) |
61 , m_name(name) | 61 , m_name(name) |
62 , m_webWorkerConnector(webWorkerConnector) | 62 , m_webWorkerConnector(webWorkerConnector) |
63 , m_channel(channel) { } | 63 , m_channel(channel) { } |
64 | 64 |
65 virtual ~SharedWorkerConnector(); | 65 virtual ~SharedWorkerConnector(); |
66 void connect(); | 66 void connect(); |
67 | 67 |
68 private: | 68 private: |
69 // WebSharedWorkerConnector::ConnectListener overrides. | 69 // WebSharedWorkerConnector::ConnectListener overrides. |
70 virtual void connected() override; | 70 void connected() override; |
71 virtual void scriptLoadFailed() override; | 71 void scriptLoadFailed() override; |
72 | 72 |
73 RefPtrWillBePersistent<SharedWorker> m_worker; | 73 RefPtrWillBePersistent<SharedWorker> m_worker; |
74 KURL m_url; | 74 KURL m_url; |
75 String m_name; | 75 String m_name; |
76 OwnPtr<WebSharedWorkerConnector> m_webWorkerConnector; | 76 OwnPtr<WebSharedWorkerConnector> m_webWorkerConnector; |
77 OwnPtr<WebMessagePortChannel> m_channel; | 77 OwnPtr<WebMessagePortChannel> m_channel; |
78 }; | 78 }; |
79 | 79 |
80 SharedWorkerConnector::~SharedWorkerConnector() | 80 SharedWorkerConnector::~SharedWorkerConnector() |
81 { | 81 { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 ASSERT(m_client); | 146 ASSERT(m_client); |
147 m_client->documentDetached(getId(document)); | 147 m_client->documentDetached(getId(document)); |
148 } | 148 } |
149 | 149 |
150 SharedWorkerRepositoryClientImpl::SharedWorkerRepositoryClientImpl(WebSharedWork
erRepositoryClient* client) | 150 SharedWorkerRepositoryClientImpl::SharedWorkerRepositoryClientImpl(WebSharedWork
erRepositoryClient* client) |
151 : m_client(client) | 151 : m_client(client) |
152 { | 152 { |
153 } | 153 } |
154 | 154 |
155 } // namespace blink | 155 } // namespace blink |
OLD | NEW |