| 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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |