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

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

Issue 2804843005: Implement the infrastructure of creating WorkerFetchContext in worker global scope. (Closed)
Patch Set: Created 3 years, 8 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 int64_t, 94 int64_t,
95 const char*, 95 const char*,
96 size_t) override; 96 size_t) override;
97 void CacheMetadataInCacheStorage( 97 void CacheMetadataInCacheStorage(
98 const blink::WebURL&, 98 const blink::WebURL&,
99 int64_t, 99 int64_t,
100 const char*, 100 const char*,
101 size_t, 101 size_t,
102 const blink::WebSecurityOrigin& cacheStorageOrigin, 102 const blink::WebSecurityOrigin& cacheStorageOrigin,
103 const blink::WebString& cacheStorageCacheName) override; 103 const blink::WebString& cacheStorageCacheName) override;
104 std::unique_ptr<blink::WebWorkerFetchContextInfo>
105 CreateWorkerFetchContextInfo() override;
104 blink::WebString DefaultLocale() override; 106 blink::WebString DefaultLocale() override;
105 void SuddenTerminationChanged(bool enabled) override; 107 void SuddenTerminationChanged(bool enabled) override;
106 blink::WebStorageNamespace* CreateLocalStorageNamespace() override; 108 blink::WebStorageNamespace* CreateLocalStorageNamespace() override;
107 blink::Platform::FileHandle DatabaseOpenFile( 109 blink::Platform::FileHandle DatabaseOpenFile(
108 const blink::WebString& vfs_file_name, 110 const blink::WebString& vfs_file_name,
109 int desired_flags) override; 111 int desired_flags) override;
110 int DatabaseDeleteFile(const blink::WebString& vfs_file_name, 112 int DatabaseDeleteFile(const blink::WebString& vfs_file_name,
111 bool sync_dir) override; 113 bool sync_dir) override;
112 long DatabaseGetFileAttributes( 114 long DatabaseGetFileAttributes(
113 const blink::WebString& vfs_file_name) override; 115 const blink::WebString& vfs_file_name) override;
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 308
307 // Only used when network service is enabled. 309 // Only used when network service is enabled.
308 mojom::URLLoaderFactoryPtr network_service_url_loader_factory_; 310 mojom::URLLoaderFactoryPtr network_service_url_loader_factory_;
309 311
310 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 312 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
311 }; 313 };
312 314
313 } // namespace content 315 } // namespace content
314 316
315 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 317 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698