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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 PaymentAppContextImpl* StoragePartitionImpl::GetPaymentAppContext() { | 567 PaymentAppContextImpl* StoragePartitionImpl::GetPaymentAppContext() { |
568 return payment_app_context_.get(); | 568 return payment_app_context_.get(); |
569 } | 569 } |
570 | 570 |
571 BroadcastChannelProvider* StoragePartitionImpl::GetBroadcastChannelProvider() { | 571 BroadcastChannelProvider* StoragePartitionImpl::GetBroadcastChannelProvider() { |
572 return broadcast_channel_provider_.get(); | 572 return broadcast_channel_provider_.get(); |
573 } | 573 } |
574 | 574 |
575 void StoragePartitionImpl::OpenLocalStorage( | 575 void StoragePartitionImpl::OpenLocalStorage( |
576 const url::Origin& origin, | 576 const url::Origin& origin, |
577 mojom::LevelDBObserverPtr observer, | |
578 mojo::InterfaceRequest<mojom::LevelDBWrapper> request) { | 577 mojo::InterfaceRequest<mojom::LevelDBWrapper> request) { |
579 dom_storage_context_->OpenLocalStorage( | 578 dom_storage_context_->OpenLocalStorage(origin, std::move(request)); |
580 origin, std::move(observer), std::move(request)); | |
581 } | 579 } |
582 | 580 |
583 void StoragePartitionImpl::ClearDataImpl( | 581 void StoragePartitionImpl::ClearDataImpl( |
584 uint32_t remove_mask, | 582 uint32_t remove_mask, |
585 uint32_t quota_storage_remove_mask, | 583 uint32_t quota_storage_remove_mask, |
586 const GURL& storage_origin, | 584 const GURL& storage_origin, |
587 const OriginMatcherFunction& origin_matcher, | 585 const OriginMatcherFunction& origin_matcher, |
588 const CookieMatcherFunction& cookie_matcher, | 586 const CookieMatcherFunction& cookie_matcher, |
589 net::URLRequestContextGetter* rq_context, | 587 net::URLRequestContextGetter* rq_context, |
590 const base::Time begin, | 588 const base::Time begin, |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 media_url_request_context_ = media_url_request_context; | 891 media_url_request_context_ = media_url_request_context; |
894 } | 892 } |
895 | 893 |
896 void StoragePartitionImpl::GetQuotaSettings( | 894 void StoragePartitionImpl::GetQuotaSettings( |
897 const storage::OptionalQuotaSettingsCallback& callback) { | 895 const storage::OptionalQuotaSettingsCallback& callback) { |
898 GetContentClient()->browser()->GetQuotaSettings(browser_context_, this, | 896 GetContentClient()->browser()->GetQuotaSettings(browser_context_, this, |
899 callback); | 897 callback); |
900 } | 898 } |
901 | 899 |
902 } // namespace content | 900 } // namespace content |
OLD | NEW |