OLD | NEW |
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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 //------------------------------------------------------------------------------ | 440 //------------------------------------------------------------------------------ |
441 | 441 |
442 WebIDBFactory* RendererBlinkPlatformImpl::idbFactory() { | 442 WebIDBFactory* RendererBlinkPlatformImpl::idbFactory() { |
443 return web_idb_factory_.get(); | 443 return web_idb_factory_.get(); |
444 } | 444 } |
445 | 445 |
446 //------------------------------------------------------------------------------ | 446 //------------------------------------------------------------------------------ |
447 | 447 |
448 blink::WebServiceWorkerCacheStorage* RendererBlinkPlatformImpl::cacheStorage( | 448 blink::WebServiceWorkerCacheStorage* RendererBlinkPlatformImpl::cacheStorage( |
449 const blink::WebSecurityOrigin& security_origin) { | 449 const blink::WebSecurityOrigin& security_origin) { |
450 return new WebServiceWorkerCacheStorageImpl( | 450 return new WebServiceWorkerCacheStorageImpl(thread_safe_sender_.get(), |
451 thread_safe_sender_.get(), WebSecurityOriginToGURL(security_origin)); | 451 security_origin); |
452 } | 452 } |
453 | 453 |
454 //------------------------------------------------------------------------------ | 454 //------------------------------------------------------------------------------ |
455 | 455 |
456 WebFileSystem* RendererBlinkPlatformImpl::fileSystem() { | 456 WebFileSystem* RendererBlinkPlatformImpl::fileSystem() { |
457 return WebFileSystemImpl::ThreadSpecificInstance(default_task_runner_); | 457 return WebFileSystemImpl::ThreadSpecificInstance(default_task_runner_); |
458 } | 458 } |
459 | 459 |
460 WebString RendererBlinkPlatformImpl::fileSystemCreateOriginIdentifier( | 460 WebString RendererBlinkPlatformImpl::fileSystemCreateOriginIdentifier( |
461 const blink::WebSecurityOrigin& origin) { | 461 const blink::WebSecurityOrigin& origin) { |
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1306 } | 1306 } |
1307 | 1307 |
1308 //------------------------------------------------------------------------------ | 1308 //------------------------------------------------------------------------------ |
1309 | 1309 |
1310 blink::WebTrialTokenValidator* | 1310 blink::WebTrialTokenValidator* |
1311 RendererBlinkPlatformImpl::trialTokenValidator() { | 1311 RendererBlinkPlatformImpl::trialTokenValidator() { |
1312 return &trial_token_validator_; | 1312 return &trial_token_validator_; |
1313 } | 1313 } |
1314 | 1314 |
1315 } // namespace content | 1315 } // namespace content |
OLD | NEW |