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

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

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
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 GeofencingManager* GetGeofencingManager() override; 59 GeofencingManager* GetGeofencingManager() override;
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 url::Origin& origin,
70 mojo::InterfaceRequest<LevelDBWrapper> request) override; 70 mojo::InterfaceRequest<LevelDBWrapper> request) override;
71 71
72 void ClearDataForOrigin(uint32_t remove_mask, 72 void ClearDataForOrigin(uint32_t remove_mask,
73 uint32_t quota_storage_remove_mask, 73 uint32_t quota_storage_remove_mask,
74 const GURL& storage_origin, 74 const GURL& storage_origin,
75 net::URLRequestContextGetter* request_context_getter, 75 net::URLRequestContextGetter* request_context_getter,
76 const base::Closure& callback) override; 76 const base::Closure& callback) override;
77 void ClearData(uint32_t remove_mask, 77 void ClearData(uint32_t remove_mask,
78 uint32_t quota_storage_remove_mask, 78 uint32_t quota_storage_remove_mask,
79 const GURL& storage_origin, 79 const GURL& storage_origin,
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // StoragePartitionImplMap which then owns StoragePartitionImpl. When the 211 // StoragePartitionImplMap which then owns StoragePartitionImpl. When the
212 // BrowserContext is destroyed, |this| will be destroyed too. 212 // BrowserContext is destroyed, |this| will be destroyed too.
213 BrowserContext* browser_context_; 213 BrowserContext* browser_context_;
214 214
215 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); 215 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl);
216 }; 216 };
217 217
218 } // namespace content 218 } // namespace content
219 219
220 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ 220 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/dom_storage/dom_storage_context_wrapper.cc ('k') | content/browser/storage_partition_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698