Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(559)

Side by Side Diff: third_party/WebKit/Source/web/ServiceWorkerGlobalScopeProxy.h

Issue 2654433012: Revert of Show service worker navigation preload requests in DevTools Network tab (Closed)
Patch Set: rebase again Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 int actionIndex, 105 int actionIndex,
106 const WebString& reply) override; 106 const WebString& reply) override;
107 void dispatchNotificationCloseEvent(int, 107 void dispatchNotificationCloseEvent(int,
108 const WebString& notificationID, 108 const WebString& notificationID,
109 const WebNotificationData&) override; 109 const WebNotificationData&) override;
110 void dispatchPushEvent(int, const WebString& data) override; 110 void dispatchPushEvent(int, const WebString& data) override;
111 void dispatchSyncEvent(int, const WebString& tag, LastChanceOption) override; 111 void dispatchSyncEvent(int, const WebString& tag, LastChanceOption) override;
112 void dispatchPaymentRequestEvent(int, 112 void dispatchPaymentRequestEvent(int,
113 const WebPaymentAppRequestData&) override; 113 const WebPaymentAppRequestData&) override;
114 bool hasFetchEventHandler() override; 114 bool hasFetchEventHandler() override;
115 void onNavigationPreloadSent(int fetchEventID, const WebURL&) override;
116 void onNavigationPreloadResponse( 115 void onNavigationPreloadResponse(
117 int fetchEventID, 116 int fetchEventID,
118 std::unique_ptr<WebURLResponse>, 117 std::unique_ptr<WebURLResponse>,
119 std::unique_ptr<WebDataConsumerHandle>) override; 118 std::unique_ptr<WebDataConsumerHandle>) override;
120 void onNavigationPreloadError( 119 void onNavigationPreloadError(
121 int fetchEventID, 120 int fetchEventID,
122 std::unique_ptr<WebServiceWorkerError>) override; 121 std::unique_ptr<WebServiceWorkerError>) override;
123 void onNavigationPreloadCompleted(int fetchEventID,
124 int64_t encodedDataLength) override;
125 122
126 // WorkerReportingProxy overrides: 123 // WorkerReportingProxy overrides:
127 void countFeature(UseCounter::Feature) override; 124 void countFeature(UseCounter::Feature) override;
128 void countDeprecation(UseCounter::Feature) override; 125 void countDeprecation(UseCounter::Feature) override;
129 void reportException(const String& errorMessage, 126 void reportException(const String& errorMessage,
130 std::unique_ptr<SourceLocation>, 127 std::unique_ptr<SourceLocation>,
131 int exceptionId) override; 128 int exceptionId) override;
132 void reportConsoleMessage(MessageSource, 129 void reportConsoleMessage(MessageSource,
133 MessageLevel, 130 MessageLevel,
134 const String& message, 131 const String& message,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698