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

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

Issue 1798113002: Switch StoragePartitionService interface to use url::Origin instead of mojo string. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android builds per Ken Created 4 years, 9 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
« no previous file with comments | « content/browser/storage_partition_impl.h ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « content/browser/storage_partition_impl.h ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698