Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ | 5 #ifndef CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ |
| 6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ | 6 #define CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 60 void getNavigationPreloadState( | 60 void getNavigationPreloadState( |
| 61 blink::WebServiceWorkerProvider* provider, | 61 blink::WebServiceWorkerProvider* provider, |
| 62 std::unique_ptr<WebGetNavigationPreloadStateCallbacks> callbacks) | 62 std::unique_ptr<WebGetNavigationPreloadStateCallbacks> callbacks) |
| 63 override; | 63 override; |
| 64 void setNavigationPreloadHeader( | 64 void setNavigationPreloadHeader( |
| 65 const blink::WebString& value, | 65 const blink::WebString& value, |
| 66 blink::WebServiceWorkerProvider* provider, | 66 blink::WebServiceWorkerProvider* provider, |
| 67 std::unique_ptr<WebSetNavigationPreloadHeaderCallbacks> callbacks) | 67 std::unique_ptr<WebSetNavigationPreloadHeaderCallbacks> callbacks) |
| 68 override; | 68 override; |
| 69 | 69 |
| 70 int64_t registrationId() const override; | |
|
falken
2016/11/11 07:59:17
nit: remove the blank line above (we don't add emp
adithyas
2016/11/11 15:11:56
Done.
iclelland
2016/11/14 18:43:07
Why the duplication here? Can we remove one or the
iclelland
2016/11/14 18:44:02
nm; Now I see the comment in the most recent patch
| |
| 70 int64_t registration_id() const; | 71 int64_t registration_id() const; |
| 71 | 72 |
| 72 using WebServiceWorkerRegistrationHandle = | 73 using WebServiceWorkerRegistrationHandle = |
| 73 blink::WebServiceWorkerRegistration::Handle; | 74 blink::WebServiceWorkerRegistration::Handle; |
| 74 | 75 |
| 75 // Creates WebServiceWorkerRegistrationHandle object that owns a reference to | 76 // Creates WebServiceWorkerRegistrationHandle object that owns a reference to |
| 76 // the given WebServiceWorkerRegistrationImpl object. | 77 // the given WebServiceWorkerRegistrationImpl object. |
| 77 static std::unique_ptr<WebServiceWorkerRegistrationHandle> CreateHandle( | 78 static std::unique_ptr<WebServiceWorkerRegistrationHandle> CreateHandle( |
| 78 const scoped_refptr<WebServiceWorkerRegistrationImpl>& registration); | 79 const scoped_refptr<WebServiceWorkerRegistrationImpl>& registration); |
| 79 | 80 |
| (...skipping 30 matching lines...) Expand all Loading... | |
| 110 blink::WebServiceWorkerRegistrationProxy* proxy_; | 111 blink::WebServiceWorkerRegistrationProxy* proxy_; |
| 111 | 112 |
| 112 std::vector<QueuedTask> queued_tasks_; | 113 std::vector<QueuedTask> queued_tasks_; |
| 113 | 114 |
| 114 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerRegistrationImpl); | 115 DISALLOW_COPY_AND_ASSIGN(WebServiceWorkerRegistrationImpl); |
| 115 }; | 116 }; |
| 116 | 117 |
| 117 } // namespace content | 118 } // namespace content |
| 118 | 119 |
| 119 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ | 120 #endif // CONTENT_CHILD_SERVICE_WORKER_WEB_SERVICE_WORKER_REGISTRATION_IMPL_H_ |
| OLD | NEW |