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

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

Issue 1745603002: Switch LevelDBWrapper::GetAll to use the new Mojo sync IPC mechanism. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment 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/leveldb_wrapper.mojom » ('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 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 StoragePartitionImpl::GetPlatformNotificationContext() { 586 StoragePartitionImpl::GetPlatformNotificationContext() {
587 return platform_notification_context_.get(); 587 return platform_notification_context_.get();
588 } 588 }
589 589
590 BackgroundSyncContextImpl* StoragePartitionImpl::GetBackgroundSyncContext() { 590 BackgroundSyncContextImpl* StoragePartitionImpl::GetBackgroundSyncContext() {
591 return background_sync_context_.get(); 591 return background_sync_context_.get();
592 } 592 }
593 593
594 void StoragePartitionImpl::OpenLocalStorage( 594 void StoragePartitionImpl::OpenLocalStorage(
595 const mojo::String& origin, 595 const mojo::String& origin,
596 LevelDBObserverPtr observer,
597 mojo::InterfaceRequest<LevelDBWrapper> request) { 596 mojo::InterfaceRequest<LevelDBWrapper> request) {
598 dom_storage_context_->OpenLocalStorage(origin, std::move(observer), 597 dom_storage_context_->OpenLocalStorage(origin, std::move(request));
599 std::move(request));
600 } 598 }
601 599
602 void StoragePartitionImpl::ClearDataImpl( 600 void StoragePartitionImpl::ClearDataImpl(
603 uint32_t remove_mask, 601 uint32_t remove_mask,
604 uint32_t quota_storage_remove_mask, 602 uint32_t quota_storage_remove_mask,
605 const GURL& storage_origin, 603 const GURL& storage_origin,
606 const OriginMatcherFunction& origin_matcher, 604 const OriginMatcherFunction& origin_matcher,
607 net::URLRequestContextGetter* rq_context, 605 net::URLRequestContextGetter* rq_context,
608 const base::Time begin, 606 const base::Time begin,
609 const base::Time end, 607 const base::Time end,
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 net::URLRequestContextGetter* url_request_context) { 917 net::URLRequestContextGetter* url_request_context) {
920 url_request_context_ = url_request_context; 918 url_request_context_ = url_request_context;
921 } 919 }
922 920
923 void StoragePartitionImpl::SetMediaURLRequestContext( 921 void StoragePartitionImpl::SetMediaURLRequestContext(
924 net::URLRequestContextGetter* media_url_request_context) { 922 net::URLRequestContextGetter* media_url_request_context) {
925 media_url_request_context_ = media_url_request_context; 923 media_url_request_context_ = media_url_request_context;
926 } 924 }
927 925
928 } // namespace content 926 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/storage_partition_impl.h ('k') | content/common/leveldb_wrapper.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698