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 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 StoragePartitionImpl::GetPlatformNotificationContext() { | 580 StoragePartitionImpl::GetPlatformNotificationContext() { |
581 return platform_notification_context_.get(); | 581 return platform_notification_context_.get(); |
582 } | 582 } |
583 | 583 |
584 BackgroundSyncContextImpl* StoragePartitionImpl::GetBackgroundSyncContext() { | 584 BackgroundSyncContextImpl* StoragePartitionImpl::GetBackgroundSyncContext() { |
585 return background_sync_context_.get(); | 585 return background_sync_context_.get(); |
586 } | 586 } |
587 | 587 |
588 void StoragePartitionImpl::OpenLocalStorage( | 588 void StoragePartitionImpl::OpenLocalStorage( |
589 const url::Origin& origin, | 589 const url::Origin& origin, |
| 590 mojom::LevelDBObserverPtr observer, |
590 mojo::InterfaceRequest<mojom::LevelDBWrapper> request) { | 591 mojo::InterfaceRequest<mojom::LevelDBWrapper> request) { |
591 dom_storage_context_->OpenLocalStorage(origin, std::move(request)); | 592 dom_storage_context_->OpenLocalStorage( |
| 593 origin, std::move(observer), std::move(request)); |
592 } | 594 } |
593 | 595 |
594 void StoragePartitionImpl::ClearDataImpl( | 596 void StoragePartitionImpl::ClearDataImpl( |
595 uint32_t remove_mask, | 597 uint32_t remove_mask, |
596 uint32_t quota_storage_remove_mask, | 598 uint32_t quota_storage_remove_mask, |
597 const GURL& storage_origin, | 599 const GURL& storage_origin, |
598 const OriginMatcherFunction& origin_matcher, | 600 const OriginMatcherFunction& origin_matcher, |
599 net::URLRequestContextGetter* rq_context, | 601 net::URLRequestContextGetter* rq_context, |
600 const base::Time begin, | 602 const base::Time begin, |
601 const base::Time end, | 603 const base::Time end, |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
899 net::URLRequestContextGetter* url_request_context) { | 901 net::URLRequestContextGetter* url_request_context) { |
900 url_request_context_ = url_request_context; | 902 url_request_context_ = url_request_context; |
901 } | 903 } |
902 | 904 |
903 void StoragePartitionImpl::SetMediaURLRequestContext( | 905 void StoragePartitionImpl::SetMediaURLRequestContext( |
904 net::URLRequestContextGetter* media_url_request_context) { | 906 net::URLRequestContextGetter* media_url_request_context) { |
905 media_url_request_context_ = media_url_request_context; | 907 media_url_request_context_ = media_url_request_context; |
906 } | 908 } |
907 | 909 |
908 } // namespace content | 910 } // namespace content |
OLD | NEW |