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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 , m_url(url) | 62 , m_url(url) |
63 , m_name(name) | 63 , m_name(name) |
64 , m_webWorkerConnector(webWorkerConnector) | 64 , m_webWorkerConnector(webWorkerConnector) |
65 , m_channel(channel) { } | 65 , m_channel(channel) { } |
66 | 66 |
67 virtual ~SharedWorkerConnector(); | 67 virtual ~SharedWorkerConnector(); |
68 void connect(); | 68 void connect(); |
69 | 69 |
70 private: | 70 private: |
71 // WebSharedWorkerConnector::ConnectListener overrides. | 71 // WebSharedWorkerConnector::ConnectListener overrides. |
72 virtual void connected() OVERRIDE; | 72 virtual void connected() override; |
73 virtual void scriptLoadFailed() OVERRIDE; | 73 virtual void scriptLoadFailed() override; |
74 | 74 |
75 RefPtrWillBePersistent<SharedWorker> m_worker; | 75 RefPtrWillBePersistent<SharedWorker> m_worker; |
76 KURL m_url; | 76 KURL m_url; |
77 String m_name; | 77 String m_name; |
78 OwnPtr<WebSharedWorkerConnector> m_webWorkerConnector; | 78 OwnPtr<WebSharedWorkerConnector> m_webWorkerConnector; |
79 OwnPtr<WebMessagePortChannel> m_channel; | 79 OwnPtr<WebMessagePortChannel> m_channel; |
80 }; | 80 }; |
81 | 81 |
82 SharedWorkerConnector::~SharedWorkerConnector() | 82 SharedWorkerConnector::~SharedWorkerConnector() |
83 { | 83 { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 ASSERT(m_client); | 134 ASSERT(m_client); |
135 m_client->documentDetached(getId(document)); | 135 m_client->documentDetached(getId(document)); |
136 } | 136 } |
137 | 137 |
138 SharedWorkerRepositoryClientImpl::SharedWorkerRepositoryClientImpl(WebSharedWork
erRepositoryClient* client) | 138 SharedWorkerRepositoryClientImpl::SharedWorkerRepositoryClientImpl(WebSharedWork
erRepositoryClient* client) |
139 : m_client(client) | 139 : m_client(client) |
140 { | 140 { |
141 } | 141 } |
142 | 142 |
143 } // namespace blink | 143 } // namespace blink |
OLD | NEW |