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

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

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/leveldb_wrapper_impl.cc ('k') | content/browser/storage_partition_impl.cc » ('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 #ifndef CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ 5 #ifndef CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_
6 #define CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ 6 #define CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 HostZoomMap* GetHostZoomMap() override; 60 HostZoomMap* GetHostZoomMap() override;
61 HostZoomLevelContext* GetHostZoomLevelContext() override; 61 HostZoomLevelContext* GetHostZoomLevelContext() override;
62 ZoomLevelDelegate* GetZoomLevelDelegate() override; 62 ZoomLevelDelegate* GetZoomLevelDelegate() override;
63 NavigatorConnectContextImpl* GetNavigatorConnectContext() override; 63 NavigatorConnectContextImpl* GetNavigatorConnectContext() override;
64 PlatformNotificationContextImpl* GetPlatformNotificationContext() override; 64 PlatformNotificationContextImpl* GetPlatformNotificationContext() override;
65 BackgroundSyncContextImpl* GetBackgroundSyncContext() override; 65 BackgroundSyncContextImpl* GetBackgroundSyncContext() override;
66 66
67 // StoragePartitionService interface. 67 // StoragePartitionService interface.
68 void OpenLocalStorage( 68 void OpenLocalStorage(
69 const mojo::String& origin, 69 const mojo::String& origin,
70 LevelDBObserverPtr observer,
71 mojo::InterfaceRequest<LevelDBWrapper> request) override; 70 mojo::InterfaceRequest<LevelDBWrapper> request) override;
72 71
73 void ClearDataForOrigin(uint32_t remove_mask, 72 void ClearDataForOrigin(uint32_t remove_mask,
74 uint32_t quota_storage_remove_mask, 73 uint32_t quota_storage_remove_mask,
75 const GURL& storage_origin, 74 const GURL& storage_origin,
76 net::URLRequestContextGetter* request_context_getter, 75 net::URLRequestContextGetter* request_context_getter,
77 const base::Closure& callback) override; 76 const base::Closure& callback) override;
78 void ClearData(uint32_t remove_mask, 77 void ClearData(uint32_t remove_mask,
79 uint32_t quota_storage_remove_mask, 78 uint32_t quota_storage_remove_mask,
80 const GURL& storage_origin, 79 const GURL& storage_origin,
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // StoragePartitionImplMap which then owns StoragePartitionImpl. When the 211 // StoragePartitionImplMap which then owns StoragePartitionImpl. When the
213 // BrowserContext is destroyed, |this| will be destroyed too. 212 // BrowserContext is destroyed, |this| will be destroyed too.
214 BrowserContext* browser_context_; 213 BrowserContext* browser_context_;
215 214
216 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); 215 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl);
217 }; 216 };
218 217
219 } // namespace content 218 } // namespace content
220 219
221 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ 220 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/leveldb_wrapper_impl.cc ('k') | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698