Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 | 50 |
| 51 public: | 51 public: |
| 52 static ServiceWorkerGlobalScopeClient* Create(WebServiceWorkerContextClient&); | 52 static ServiceWorkerGlobalScopeClient* Create(WebServiceWorkerContextClient&); |
| 53 ~ServiceWorkerGlobalScopeClientImpl() override; | 53 ~ServiceWorkerGlobalScopeClientImpl() override; |
| 54 | 54 |
| 55 void GetClient(const WebString&, | 55 void GetClient(const WebString&, |
| 56 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; | 56 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; |
| 57 void GetClients(const WebServiceWorkerClientQueryOptions&, | 57 void GetClients(const WebServiceWorkerClientQueryOptions&, |
| 58 std::unique_ptr<WebServiceWorkerClientsCallbacks>) override; | 58 std::unique_ptr<WebServiceWorkerClientsCallbacks>) override; |
| 59 void OpenWindow(const WebURL&, | 59 void OpenWindow(const WebURL&, |
| 60 const WebURL&, | |
|
please use gerrit instead
2017/05/25 14:53:27
Need parameter names.
gogerald1
2017/05/25 16:53:33
Done.
| |
| 60 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; | 61 std::unique_ptr<WebServiceWorkerClientCallbacks>) override; |
| 61 void SetCachedMetadata(const WebURL&, const char*, size_t) override; | 62 void SetCachedMetadata(const WebURL&, const char*, size_t) override; |
| 62 void ClearCachedMetadata(const WebURL&) override; | 63 void ClearCachedMetadata(const WebURL&) override; |
| 63 | 64 |
| 64 WebURL Scope() const override; | 65 WebURL Scope() const override; |
| 65 | 66 |
| 66 void DidHandleActivateEvent(int event_id, | 67 void DidHandleActivateEvent(int event_id, |
| 67 WebServiceWorkerEventResult, | 68 WebServiceWorkerEventResult, |
| 68 double event_dispatch_time) override; | 69 double event_dispatch_time) override; |
| 69 void DidHandleBackgroundFetchAbortEvent(int event_id, | 70 void DidHandleBackgroundFetchAbortEvent(int event_id, |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 136 | 137 |
| 137 private: | 138 private: |
| 138 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&); | 139 explicit ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient&); |
| 139 | 140 |
| 140 WebServiceWorkerContextClient& client_; | 141 WebServiceWorkerContextClient& client_; |
| 141 }; | 142 }; |
| 142 | 143 |
| 143 } // namespace blink | 144 } // namespace blink |
| 144 | 145 |
| 145 #endif // ServiceWorkerGlobalScopeClientImpl_h | 146 #endif // ServiceWorkerGlobalScopeClientImpl_h |
| OLD | NEW |