| 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/browser/storage_partition_impl.h" | 5 #include "content/browser/storage_partition_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 PlatformNotificationContextImpl* | 584 PlatformNotificationContextImpl* |
| 585 StoragePartitionImpl::GetPlatformNotificationContext() { | 585 StoragePartitionImpl::GetPlatformNotificationContext() { |
| 586 return platform_notification_context_.get(); | 586 return platform_notification_context_.get(); |
| 587 } | 587 } |
| 588 | 588 |
| 589 BackgroundSyncContextImpl* StoragePartitionImpl::GetBackgroundSyncContext() { | 589 BackgroundSyncContextImpl* StoragePartitionImpl::GetBackgroundSyncContext() { |
| 590 return background_sync_context_.get(); | 590 return background_sync_context_.get(); |
| 591 } | 591 } |
| 592 | 592 |
| 593 void StoragePartitionImpl::OpenLocalStorage( | 593 void StoragePartitionImpl::OpenLocalStorage( |
| 594 const mojo::String& origin, | 594 const url::Origin& origin, |
| 595 mojo::InterfaceRequest<LevelDBWrapper> request) { | 595 mojo::InterfaceRequest<LevelDBWrapper> request) { |
| 596 dom_storage_context_->OpenLocalStorage(origin, std::move(request)); | 596 dom_storage_context_->OpenLocalStorage(origin, std::move(request)); |
| 597 } | 597 } |
| 598 | 598 |
| 599 void StoragePartitionImpl::ClearDataImpl( | 599 void StoragePartitionImpl::ClearDataImpl( |
| 600 uint32_t remove_mask, | 600 uint32_t remove_mask, |
| 601 uint32_t quota_storage_remove_mask, | 601 uint32_t quota_storage_remove_mask, |
| 602 const GURL& storage_origin, | 602 const GURL& storage_origin, |
| 603 const OriginMatcherFunction& origin_matcher, | 603 const OriginMatcherFunction& origin_matcher, |
| 604 net::URLRequestContextGetter* rq_context, | 604 net::URLRequestContextGetter* rq_context, |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 916 net::URLRequestContextGetter* url_request_context) { | 916 net::URLRequestContextGetter* url_request_context) { |
| 917 url_request_context_ = url_request_context; | 917 url_request_context_ = url_request_context; |
| 918 } | 918 } |
| 919 | 919 |
| 920 void StoragePartitionImpl::SetMediaURLRequestContext( | 920 void StoragePartitionImpl::SetMediaURLRequestContext( |
| 921 net::URLRequestContextGetter* media_url_request_context) { | 921 net::URLRequestContextGetter* media_url_request_context) { |
| 922 media_url_request_context_ = media_url_request_context; | 922 media_url_request_context_ = media_url_request_context; |
| 923 } | 923 } |
| 924 | 924 |
| 925 } // namespace content | 925 } // namespace content |
| OLD | NEW |