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

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: add comments in render_process_messages.h 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 unsigned long long visitedLinkHash(const char* canonicalURL, 90 unsigned long long visitedLinkHash(const char* canonicalURL,
91 size_t length) override; 91 size_t length) override;
92 bool isLinkVisited(unsigned long long linkHash) override; 92 bool isLinkVisited(unsigned long long linkHash) override;
93 void createMessageChannel(blink::WebMessagePortChannel** channel1, 93 void createMessageChannel(blink::WebMessagePortChannel** channel1,
94 blink::WebMessagePortChannel** channel2) override; 94 blink::WebMessagePortChannel** channel2) override;
95 blink::WebPrescientNetworking* prescientNetworking() override; 95 blink::WebPrescientNetworking* prescientNetworking() override;
96 void cacheMetadata(const blink::WebURL&, 96 void cacheMetadata(const blink::WebURL&,
97 int64_t, 97 int64_t,
98 const char*, 98 const char*,
99 size_t) override; 99 size_t) override;
100 void cacheMetadataInCacheStorage(
101 const blink::WebURL&,
102 int64_t,
103 const char*,
104 size_t,
105 const blink::WebSecurityOrigin& cacheStorageOrigin,
106 const blink::WebString& cacheStorageCacheName) override;
100 blink::WebString defaultLocale() override; 107 blink::WebString defaultLocale() override;
101 void suddenTerminationChanged(bool enabled) override; 108 void suddenTerminationChanged(bool enabled) override;
102 blink::WebStorageNamespace* createLocalStorageNamespace() override; 109 blink::WebStorageNamespace* createLocalStorageNamespace() override;
103 blink::Platform::FileHandle databaseOpenFile( 110 blink::Platform::FileHandle databaseOpenFile(
104 const blink::WebString& vfs_file_name, 111 const blink::WebString& vfs_file_name,
105 int desired_flags) override; 112 int desired_flags) override;
106 int databaseDeleteFile(const blink::WebString& vfs_file_name, 113 int databaseDeleteFile(const blink::WebString& vfs_file_name,
107 bool sync_dir) override; 114 bool sync_dir) override;
108 long databaseGetFileAttributes( 115 long databaseGetFileAttributes(
109 const blink::WebString& vfs_file_name) override; 116 const blink::WebString& vfs_file_name) override;
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; 311 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_;
305 312
306 std::unique_ptr<BlinkServiceRegistryImpl> blink_service_registry_; 313 std::unique_ptr<BlinkServiceRegistryImpl> blink_service_registry_;
307 314
308 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 315 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
309 }; 316 };
310 317
311 } // namespace content 318 } // namespace content
312 319
313 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 320 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698