| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 int actionIndex, | 104 int actionIndex, |
| 105 const WebString& reply) override; | 105 const WebString& reply) override; |
| 106 void dispatchNotificationCloseEvent(int, | 106 void dispatchNotificationCloseEvent(int, |
| 107 const WebString& notificationID, | 107 const WebString& notificationID, |
| 108 const WebNotificationData&) override; | 108 const WebNotificationData&) override; |
| 109 void dispatchPushEvent(int, const WebString& data) override; | 109 void dispatchPushEvent(int, const WebString& data) override; |
| 110 void dispatchSyncEvent(int, const WebString& tag, LastChanceOption) override; | 110 void dispatchSyncEvent(int, const WebString& tag, LastChanceOption) override; |
| 111 void dispatchPaymentRequestEvent(int, | 111 void dispatchPaymentRequestEvent(int, |
| 112 const WebPaymentAppRequestData&) override; | 112 const WebPaymentAppRequestData&) override; |
| 113 bool hasFetchEventHandler() override; | 113 bool hasFetchEventHandler() override; |
| 114 void onNavigationPreloadSent(int fetchEventID, const WebURL&) override; | |
| 115 void onNavigationPreloadResponse( | 114 void onNavigationPreloadResponse( |
| 116 int fetchEventID, | 115 int fetchEventID, |
| 117 std::unique_ptr<WebURLResponse>, | 116 std::unique_ptr<WebURLResponse>, |
| 118 std::unique_ptr<WebDataConsumerHandle>) override; | 117 std::unique_ptr<WebDataConsumerHandle>) override; |
| 119 void onNavigationPreloadError( | 118 void onNavigationPreloadError( |
| 120 int fetchEventID, | 119 int fetchEventID, |
| 121 std::unique_ptr<WebServiceWorkerError>) override; | 120 std::unique_ptr<WebServiceWorkerError>) override; |
| 122 void onNavigationPreloadCompleted(int fetchEventID, | |
| 123 int64_t encodedDataLength) override; | |
| 124 | 121 |
| 125 // WorkerReportingProxy overrides: | 122 // WorkerReportingProxy overrides: |
| 126 void countFeature(UseCounter::Feature) override; | 123 void countFeature(UseCounter::Feature) override; |
| 127 void countDeprecation(UseCounter::Feature) override; | 124 void countDeprecation(UseCounter::Feature) override; |
| 128 void reportException(const String& errorMessage, | 125 void reportException(const String& errorMessage, |
| 129 std::unique_ptr<SourceLocation>, | 126 std::unique_ptr<SourceLocation>, |
| 130 int exceptionId) override; | 127 int exceptionId) override; |
| 131 void reportConsoleMessage(MessageSource, | 128 void reportConsoleMessage(MessageSource, |
| 132 MessageLevel, | 129 MessageLevel, |
| 133 const String& message, | 130 const String& message, |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents; | 170 HeapHashMap<int, Member<FetchEvent>> m_pendingPreloadFetchEvents; |
| 174 | 171 |
| 175 WebServiceWorkerContextClient* m_client; | 172 WebServiceWorkerContextClient* m_client; |
| 176 | 173 |
| 177 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; | 174 CrossThreadPersistent<ServiceWorkerGlobalScope> m_workerGlobalScope; |
| 178 }; | 175 }; |
| 179 | 176 |
| 180 } // namespace blink | 177 } // namespace blink |
| 181 | 178 |
| 182 #endif // ServiceWorkerGlobalScopeProxy_h | 179 #endif // ServiceWorkerGlobalScopeProxy_h |
| OLD | NEW |