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

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

Issue 1826103002: CacheStorage: Pass url::Origin rather than GURL over IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@origin-idb
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 // 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 #include "content/renderer/renderer_blink_platform_impl.h" 5 #include "content/renderer/renderer_blink_platform_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 //------------------------------------------------------------------------------ 430 //------------------------------------------------------------------------------
431 431
432 WebIDBFactory* RendererBlinkPlatformImpl::idbFactory() { 432 WebIDBFactory* RendererBlinkPlatformImpl::idbFactory() {
433 return web_idb_factory_.get(); 433 return web_idb_factory_.get();
434 } 434 }
435 435
436 //------------------------------------------------------------------------------ 436 //------------------------------------------------------------------------------
437 437
438 blink::WebServiceWorkerCacheStorage* RendererBlinkPlatformImpl::cacheStorage( 438 blink::WebServiceWorkerCacheStorage* RendererBlinkPlatformImpl::cacheStorage(
439 const blink::WebSecurityOrigin& security_origin) { 439 const blink::WebSecurityOrigin& security_origin) {
440 return new WebServiceWorkerCacheStorageImpl( 440 return new WebServiceWorkerCacheStorageImpl(thread_safe_sender_.get(),
441 thread_safe_sender_.get(), WebSecurityOriginToGURL(security_origin)); 441 security_origin);
442 } 442 }
443 443
444 //------------------------------------------------------------------------------ 444 //------------------------------------------------------------------------------
445 445
446 WebFileSystem* RendererBlinkPlatformImpl::fileSystem() { 446 WebFileSystem* RendererBlinkPlatformImpl::fileSystem() {
447 return WebFileSystemImpl::ThreadSpecificInstance(default_task_runner_); 447 return WebFileSystemImpl::ThreadSpecificInstance(default_task_runner_);
448 } 448 }
449 449
450 WebString RendererBlinkPlatformImpl::fileSystemCreateOriginIdentifier( 450 WebString RendererBlinkPlatformImpl::fileSystemCreateOriginIdentifier(
451 const blink::WebSecurityOrigin& origin) { 451 const blink::WebSecurityOrigin& origin) {
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
1260 } 1260 }
1261 1261
1262 //------------------------------------------------------------------------------ 1262 //------------------------------------------------------------------------------
1263 1263
1264 blink::WebTrialTokenValidator* 1264 blink::WebTrialTokenValidator*
1265 RendererBlinkPlatformImpl::trialTokenValidator() { 1265 RendererBlinkPlatformImpl::trialTokenValidator() {
1266 return &trial_token_validator_; 1266 return &trial_token_validator_;
1267 } 1267 }
1268 1268
1269 } // namespace content 1269 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698