OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |