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

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

Issue 1760673003: Cache API: Pass origin to platform, rather than DatabaseIdentifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 225
226 // IndexedDB ---------------------------------------------------------- 226 // IndexedDB ----------------------------------------------------------
227 227
228 // Must return non-null. 228 // Must return non-null.
229 virtual WebIDBFactory* idbFactory() { return nullptr; } 229 virtual WebIDBFactory* idbFactory() { return nullptr; }
230 230
231 231
232 // Cache Storage ---------------------------------------------------------- 232 // Cache Storage ----------------------------------------------------------
233 233
234 // The caller is responsible for deleting the returned object. 234 // The caller is responsible for deleting the returned object.
235 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebString& originId entifier) { return nullptr; } 235 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&) { return nullptr; }
236 236
237 // Gamepad ------------------------------------------------------------- 237 // Gamepad -------------------------------------------------------------
238 238
239 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } 239 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; }
240 240
241 // History ------------------------------------------------------------- 241 // History -------------------------------------------------------------
242 242
243 // Returns the hash for the given canonicalized URL for use in visited 243 // Returns the hash for the given canonicalized URL for use in visited
244 // link coloring. 244 // link coloring.
245 virtual unsigned long long visitedLinkHash( 245 virtual unsigned long long visitedLinkHash(
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 protected: 611 protected:
612 BLINK_PLATFORM_EXPORT Platform(); 612 BLINK_PLATFORM_EXPORT Platform();
613 virtual ~Platform() { } 613 virtual ~Platform() { }
614 614
615 WebThread* m_mainThread; 615 WebThread* m_mainThread;
616 }; 616 };
617 617
618 } // namespace blink 618 } // namespace blink
619 619
620 #endif 620 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698