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

Side by Side Diff: Source/core/loader/FrameLoaderClient.h

Issue 650033007: ServiceWorker: Make a way to retrieve a service worker version id (Blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: change assert Created 6 years, 1 month 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
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon. 207 // If an HTML document is being loaded, informs the embedder that the do cument will have its <body> attached soon.
208 virtual void dispatchWillInsertBody() { } 208 virtual void dispatchWillInsertBody() { }
209 209
210 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority, int intraPriorityValue) { } 210 virtual void dispatchDidChangeResourcePriority(unsigned long identifier, ResourceLoadPriority, int intraPriorityValue) { }
211 211
212 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP rovider() = 0; 212 virtual PassOwnPtr<blink::WebServiceWorkerProvider> createServiceWorkerP rovider() = 0;
213 213
214 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0; 214 virtual bool isControlledByServiceWorker(DocumentLoader&) = 0;
215 215
216 virtual int64_t serviceWorkerID(DocumentLoader&) = 0;
217
216 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; } 218 virtual SharedWorkerRepositoryClient* sharedWorkerRepositoryClient() { r eturn 0; }
217 219
218 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0; 220 virtual PassOwnPtr<blink::WebApplicationCacheHost> createApplicationCach eHost(blink::WebApplicationCacheHostClient*) = 0;
219 221
220 virtual void didStopAllLoaders() { } 222 virtual void didStopAllLoaders() { }
221 223
222 virtual void dispatchDidChangeManifest() { } 224 virtual void dispatchDidChangeManifest() { }
223 225
224 virtual bool isFrameLoaderClientImpl() const { return false; } 226 virtual bool isFrameLoaderClientImpl() const { return false; }
225 }; 227 };
226 228
227 } // namespace blink 229 } // namespace blink
228 230
229 #endif // FrameLoaderClient_h 231 #endif // FrameLoaderClient_h
OLDNEW
« no previous file with comments | « Source/core/loader/EmptyClients.h ('k') | Source/web/FrameLoaderClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698