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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.h

Issue 1915833002: Introduce Platform::cacheMetadataInCacheStorage() to store V8 code cache in CacheStorage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated vogelheim's comment Created 4 years, 7 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 unsigned long long visitedLinkHash(const char* canonicalURL, 91 unsigned long long visitedLinkHash(const char* canonicalURL,
92 size_t length) override; 92 size_t length) override;
93 bool isLinkVisited(unsigned long long linkHash) override; 93 bool isLinkVisited(unsigned long long linkHash) override;
94 void createMessageChannel(blink::WebMessagePortChannel** channel1, 94 void createMessageChannel(blink::WebMessagePortChannel** channel1,
95 blink::WebMessagePortChannel** channel2) override; 95 blink::WebMessagePortChannel** channel2) override;
96 blink::WebPrescientNetworking* prescientNetworking() override; 96 blink::WebPrescientNetworking* prescientNetworking() override;
97 void cacheMetadata(const blink::WebURL&, 97 void cacheMetadata(const blink::WebURL&,
98 int64_t, 98 int64_t,
99 const char*, 99 const char*,
100 size_t) override; 100 size_t) override;
101 void cacheMetadataInCacheStorage(
102 const blink::WebURL&,
103 int64_t,
104 const char*,
105 size_t,
106 const blink::WebSecurityOrigin& cacheStorageOrigin,
107 const blink::WebString& cacheStorageCacheName) override;
101 blink::WebString defaultLocale() override; 108 blink::WebString defaultLocale() override;
102 void suddenTerminationChanged(bool enabled) override; 109 void suddenTerminationChanged(bool enabled) override;
103 blink::WebStorageNamespace* createLocalStorageNamespace() override; 110 blink::WebStorageNamespace* createLocalStorageNamespace() override;
104 blink::Platform::FileHandle databaseOpenFile( 111 blink::Platform::FileHandle databaseOpenFile(
105 const blink::WebString& vfs_file_name, 112 const blink::WebString& vfs_file_name,
106 int desired_flags) override; 113 int desired_flags) override;
107 int databaseDeleteFile(const blink::WebString& vfs_file_name, 114 int databaseDeleteFile(const blink::WebString& vfs_file_name,
108 bool sync_dir) override; 115 bool sync_dir) override;
109 long databaseGetFileAttributes( 116 long databaseGetFileAttributes(
110 const blink::WebString& vfs_file_name) override; 117 const blink::WebString& vfs_file_name) override;
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; 312 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_;
306 313
307 std::unique_ptr<BlinkServiceRegistryImpl> blink_service_registry_; 314 std::unique_ptr<BlinkServiceRegistryImpl> blink_service_registry_;
308 315
309 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 316 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
310 }; 317 };
311 318
312 } // namespace content 319 } // namespace content
313 320
314 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 321 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698