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

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

Issue 1837883003: Some fleshing out the mojo based localstorage implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 GeofencingManager* GetGeofencingManager() override; 58 GeofencingManager* GetGeofencingManager() override;
59 HostZoomMap* GetHostZoomMap() override; 59 HostZoomMap* GetHostZoomMap() override;
60 HostZoomLevelContext* GetHostZoomLevelContext() override; 60 HostZoomLevelContext* GetHostZoomLevelContext() override;
61 ZoomLevelDelegate* GetZoomLevelDelegate() override; 61 ZoomLevelDelegate* GetZoomLevelDelegate() override;
62 PlatformNotificationContextImpl* GetPlatformNotificationContext() override; 62 PlatformNotificationContextImpl* GetPlatformNotificationContext() override;
63 BackgroundSyncContextImpl* GetBackgroundSyncContext() override; 63 BackgroundSyncContextImpl* GetBackgroundSyncContext() override;
64 64
65 // mojom::StoragePartitionService interface. 65 // mojom::StoragePartitionService interface.
66 void OpenLocalStorage( 66 void OpenLocalStorage(
67 const url::Origin& origin, 67 const url::Origin& origin,
68 mojom::LevelDBObserverPtr observer,
68 mojo::InterfaceRequest<mojom::LevelDBWrapper> request) override; 69 mojo::InterfaceRequest<mojom::LevelDBWrapper> request) override;
69 70
70 void ClearDataForOrigin(uint32_t remove_mask, 71 void ClearDataForOrigin(uint32_t remove_mask,
71 uint32_t quota_storage_remove_mask, 72 uint32_t quota_storage_remove_mask,
72 const GURL& storage_origin, 73 const GURL& storage_origin,
73 net::URLRequestContextGetter* request_context_getter, 74 net::URLRequestContextGetter* request_context_getter,
74 const base::Closure& callback) override; 75 const base::Closure& callback) override;
75 void ClearData(uint32_t remove_mask, 76 void ClearData(uint32_t remove_mask,
76 uint32_t quota_storage_remove_mask, 77 uint32_t quota_storage_remove_mask,
77 const GURL& storage_origin, 78 const GURL& storage_origin,
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // StoragePartitionImplMap which then owns StoragePartitionImpl. When the 209 // StoragePartitionImplMap which then owns StoragePartitionImpl. When the
209 // BrowserContext is destroyed, |this| will be destroyed too. 210 // BrowserContext is destroyed, |this| will be destroyed too.
210 BrowserContext* browser_context_; 211 BrowserContext* browser_context_;
211 212
212 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); 213 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl);
213 }; 214 };
214 215
215 } // namespace content 216 } // namespace content
216 217
217 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ 218 #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