OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 static std::unique_ptr<SharedWorkerRepositoryClientImpl> create( | 50 static std::unique_ptr<SharedWorkerRepositoryClientImpl> create( |
51 WebSharedWorkerRepositoryClient* client) { | 51 WebSharedWorkerRepositoryClient* client) { |
52 return WTF::wrapUnique(new SharedWorkerRepositoryClientImpl(client)); | 52 return WTF::wrapUnique(new SharedWorkerRepositoryClientImpl(client)); |
53 } | 53 } |
54 | 54 |
55 ~SharedWorkerRepositoryClientImpl() override {} | 55 ~SharedWorkerRepositoryClientImpl() override {} |
56 | 56 |
57 void connect(SharedWorker*, | 57 void connect(SharedWorker*, |
58 WebMessagePortChannelUniquePtr, | 58 WebMessagePortChannelUniquePtr, |
59 const KURL&, | 59 const KURL&, |
60 const String& name, | 60 const String& name) override; |
61 ExceptionState&) override; | |
62 void documentDetached(Document*) override; | 61 void documentDetached(Document*) override; |
63 | 62 |
64 private: | 63 private: |
65 explicit SharedWorkerRepositoryClientImpl(WebSharedWorkerRepositoryClient*); | 64 explicit SharedWorkerRepositoryClientImpl(WebSharedWorkerRepositoryClient*); |
66 | 65 |
67 WebSharedWorkerRepositoryClient* m_client; | 66 WebSharedWorkerRepositoryClient* m_client; |
68 }; | 67 }; |
69 | 68 |
70 } // namespace blink | 69 } // namespace blink |
71 | 70 |
72 #endif // SharedWorkerRepositoryClientImpl_h | 71 #endif // SharedWorkerRepositoryClientImpl_h |
OLD | NEW |