Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Side by Side Diff: content/browser/storage_partition_impl.cc

Issue 1832813002: Add mojom module suffix in .mojom files in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Tom's comment Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 StoragePartitionImpl::GetPlatformNotificationContext() { 590 StoragePartitionImpl::GetPlatformNotificationContext() {
591 return platform_notification_context_.get(); 591 return platform_notification_context_.get();
592 } 592 }
593 593
594 BackgroundSyncContextImpl* StoragePartitionImpl::GetBackgroundSyncContext() { 594 BackgroundSyncContextImpl* StoragePartitionImpl::GetBackgroundSyncContext() {
595 return background_sync_context_.get(); 595 return background_sync_context_.get();
596 } 596 }
597 597
598 void StoragePartitionImpl::OpenLocalStorage( 598 void StoragePartitionImpl::OpenLocalStorage(
599 const url::Origin& origin, 599 const url::Origin& origin,
600 mojo::InterfaceRequest<LevelDBWrapper> request) { 600 mojo::InterfaceRequest<mojom::LevelDBWrapper> request) {
601 dom_storage_context_->OpenLocalStorage(origin, std::move(request)); 601 dom_storage_context_->OpenLocalStorage(origin, std::move(request));
602 } 602 }
603 603
604 void StoragePartitionImpl::ClearDataImpl( 604 void StoragePartitionImpl::ClearDataImpl(
605 uint32_t remove_mask, 605 uint32_t remove_mask,
606 uint32_t quota_storage_remove_mask, 606 uint32_t quota_storage_remove_mask,
607 const GURL& storage_origin, 607 const GURL& storage_origin,
608 const OriginMatcherFunction& origin_matcher, 608 const OriginMatcherFunction& origin_matcher,
609 net::URLRequestContextGetter* rq_context, 609 net::URLRequestContextGetter* rq_context,
610 const base::Time begin, 610 const base::Time begin,
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
884 884
885 WebRTCIdentityStore* StoragePartitionImpl::GetWebRTCIdentityStore() { 885 WebRTCIdentityStore* StoragePartitionImpl::GetWebRTCIdentityStore() {
886 return webrtc_identity_store_.get(); 886 return webrtc_identity_store_.get();
887 } 887 }
888 888
889 BrowserContext* StoragePartitionImpl::browser_context() const { 889 BrowserContext* StoragePartitionImpl::browser_context() const {
890 return browser_context_; 890 return browser_context_;
891 } 891 }
892 892
893 void StoragePartitionImpl::Bind( 893 void StoragePartitionImpl::Bind(
894 mojo::InterfaceRequest<StoragePartitionService> request) { 894 mojo::InterfaceRequest<mojom::StoragePartitionService> request) {
895 bindings_.AddBinding(this, std::move(request)); 895 bindings_.AddBinding(this, std::move(request));
896 } 896 }
897 897
898 void StoragePartitionImpl::OverrideQuotaManagerForTesting( 898 void StoragePartitionImpl::OverrideQuotaManagerForTesting(
899 storage::QuotaManager* quota_manager) { 899 storage::QuotaManager* quota_manager) {
900 quota_manager_ = quota_manager; 900 quota_manager_ = quota_manager;
901 } 901 }
902 902
903 void StoragePartitionImpl::OverrideSpecialStoragePolicyForTesting( 903 void StoragePartitionImpl::OverrideSpecialStoragePolicyForTesting(
904 storage::SpecialStoragePolicy* special_storage_policy) { 904 storage::SpecialStoragePolicy* special_storage_policy) {
905 special_storage_policy_ = special_storage_policy; 905 special_storage_policy_ = special_storage_policy;
906 } 906 }
907 907
908 void StoragePartitionImpl::SetURLRequestContext( 908 void StoragePartitionImpl::SetURLRequestContext(
909 net::URLRequestContextGetter* url_request_context) { 909 net::URLRequestContextGetter* url_request_context) {
910 url_request_context_ = url_request_context; 910 url_request_context_ = url_request_context;
911 } 911 }
912 912
913 void StoragePartitionImpl::SetMediaURLRequestContext( 913 void StoragePartitionImpl::SetMediaURLRequestContext(
914 net::URLRequestContextGetter* media_url_request_context) { 914 net::URLRequestContextGetter* media_url_request_context) {
915 media_url_request_context_ = media_url_request_context; 915 media_url_request_context_ = media_url_request_context;
916 } 916 }
917 917
918 } // namespace content 918 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/storage_partition_impl.h ('k') | content/browser/vr/android/cardboard/cardboard_vr_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698