| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 void DispatchSyncEvent(int, const WebString& tag, LastChanceOption) override; | 123 void DispatchSyncEvent(int, const WebString& tag, LastChanceOption) override; |
| 124 void DispatchPaymentRequestEvent(int, const WebPaymentAppRequest&) override; | 124 void DispatchPaymentRequestEvent(int, const WebPaymentAppRequest&) override; |
| 125 bool HasFetchEventHandler() override; | 125 bool HasFetchEventHandler() override; |
| 126 void OnNavigationPreloadResponse( | 126 void OnNavigationPreloadResponse( |
| 127 int fetch_event_id, | 127 int fetch_event_id, |
| 128 std::unique_ptr<WebURLResponse>, | 128 std::unique_ptr<WebURLResponse>, |
| 129 std::unique_ptr<WebDataConsumerHandle>) override; | 129 std::unique_ptr<WebDataConsumerHandle>) override; |
| 130 void OnNavigationPreloadError( | 130 void OnNavigationPreloadError( |
| 131 int fetch_event_id, | 131 int fetch_event_id, |
| 132 std::unique_ptr<WebServiceWorkerError>) override; | 132 std::unique_ptr<WebServiceWorkerError>) override; |
| 133 void OnNavigationPreloadComplete(int fetch_event_id, |
| 134 double completion_time, |
| 135 int64_t encoded_data_length, |
| 136 int64_t encoded_body_length, |
| 137 int64_t decoded_body_length) override; |
| 133 | 138 |
| 134 // WorkerReportingProxy overrides: | 139 // WorkerReportingProxy overrides: |
| 135 void CountFeature(UseCounter::Feature) override; | 140 void CountFeature(UseCounter::Feature) override; |
| 136 void CountDeprecation(UseCounter::Feature) override; | 141 void CountDeprecation(UseCounter::Feature) override; |
| 137 void ReportException(const String& error_message, | 142 void ReportException(const String& error_message, |
| 138 std::unique_ptr<SourceLocation>, | 143 std::unique_ptr<SourceLocation>, |
| 139 int exception_id) override; | 144 int exception_id) override; |
| 140 void ReportConsoleMessage(MessageSource, | 145 void ReportConsoleMessage(MessageSource, |
| 141 MessageLevel, | 146 MessageLevel, |
| 142 const String& message, | 147 const String& message, |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 HashMap<int, CrossThreadPersistent<FetchEvent>> pending_preload_fetch_events_; | 194 HashMap<int, CrossThreadPersistent<FetchEvent>> pending_preload_fetch_events_; |
| 190 | 195 |
| 191 WebServiceWorkerContextClient* client_; | 196 WebServiceWorkerContextClient* client_; |
| 192 | 197 |
| 193 CrossThreadPersistent<ServiceWorkerGlobalScope> worker_global_scope_; | 198 CrossThreadPersistent<ServiceWorkerGlobalScope> worker_global_scope_; |
| 194 }; | 199 }; |
| 195 | 200 |
| 196 } // namespace blink | 201 } // namespace blink |
| 197 | 202 |
| 198 #endif // ServiceWorkerGlobalScopeProxy_h | 203 #endif // ServiceWorkerGlobalScopeProxy_h |
| OLD | NEW |