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

Side by Side Diff: public/platform/Platform.h

Issue 1029423004: Cache Storage: Add Platform API to retrieve CacheStorage for origin (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove cruft, rename arg Created 5 years, 9 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 class WebPluginListBuilder; 94 class WebPluginListBuilder;
95 class WebPrescientNetworking; 95 class WebPrescientNetworking;
96 class WebPublicSuffixList; 96 class WebPublicSuffixList;
97 class WebPushProvider; 97 class WebPushProvider;
98 class WebRTCPeerConnectionHandler; 98 class WebRTCPeerConnectionHandler;
99 class WebRTCPeerConnectionHandlerClient; 99 class WebRTCPeerConnectionHandlerClient;
100 class WebSandboxSupport; 100 class WebSandboxSupport;
101 class WebScheduler; 101 class WebScheduler;
102 class WebSecurityOrigin; 102 class WebSecurityOrigin;
103 class WebScrollbarBehavior; 103 class WebScrollbarBehavior;
104 class WebServiceWorkerCacheStorage;
104 class WebSocketHandle; 105 class WebSocketHandle;
105 class WebSpeechSynthesizer; 106 class WebSpeechSynthesizer;
106 class WebSpeechSynthesizerClient; 107 class WebSpeechSynthesizerClient;
107 class WebStorageNamespace; 108 class WebStorageNamespace;
108 class WebSyncProvider; 109 class WebSyncProvider;
109 struct WebFloatPoint; 110 struct WebFloatPoint;
110 class WebThemeEngine; 111 class WebThemeEngine;
111 class WebThread; 112 class WebThread;
112 class WebURL; 113 class WebURL;
113 class WebURLLoader; 114 class WebURLLoader;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 213
213 virtual WebString convertIDNToUnicode(const WebString& host, const WebString & languages) { return host; } 214 virtual WebString convertIDNToUnicode(const WebString& host, const WebString & languages) { return host; }
214 215
215 216
216 // IndexedDB ---------------------------------------------------------- 217 // IndexedDB ----------------------------------------------------------
217 218
218 // Must return non-null. 219 // Must return non-null.
219 virtual WebIDBFactory* idbFactory() { return 0; } 220 virtual WebIDBFactory* idbFactory() { return 0; }
220 221
221 222
223 // Cache Storage ----------------------------------------------------------
224
225 // The caller is responsible for deleting the returned object.
226 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebString& originId entifier) { return nullptr; }
227
222 // Gamepad ------------------------------------------------------------- 228 // Gamepad -------------------------------------------------------------
223 229
224 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } 230 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; }
225 231
226 232
227 // WebVR ------------------------------------------------------------- 233 // WebVR -------------------------------------------------------------
228 234
229 virtual void getVRDevices(WebVector<blink::WebVRDevice>* devices) { }; 235 virtual void getVRDevices(WebVector<blink::WebVRDevice>* devices) { };
230 236
231 virtual void getHMDSensorState(unsigned index, blink::WebHMDSensorState& int o) { } 237 virtual void getHMDSensorState(unsigned index, blink::WebHMDSensorState& int o) { }
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 protected: 698 protected:
693 BLINK_PLATFORM_EXPORT Platform(); 699 BLINK_PLATFORM_EXPORT Platform();
694 virtual ~Platform() { } 700 virtual ~Platform() { }
695 701
696 WebThread* m_mainThread; 702 WebThread* m_mainThread;
697 }; 703 };
698 704
699 } // namespace blink 705 } // namespace blink
700 706
701 #endif 707 #endif
OLDNEW
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.cpp ('k') | public/web/WebServiceWorkerContextClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698