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 2596603002: Make LevelDBObserver an associated interface to LevelDBWrapper. (Closed)
Patch Set: Created 4 years 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 <memory> 10 #include <memory>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 ZoomLevelDelegate* GetZoomLevelDelegate() override; 75 ZoomLevelDelegate* GetZoomLevelDelegate() override;
76 PlatformNotificationContextImpl* GetPlatformNotificationContext() override; 76 PlatformNotificationContextImpl* GetPlatformNotificationContext() override;
77 77
78 BackgroundSyncContext* GetBackgroundSyncContext(); 78 BackgroundSyncContext* GetBackgroundSyncContext();
79 PaymentAppContextImpl* GetPaymentAppContext(); 79 PaymentAppContextImpl* GetPaymentAppContext();
80 BroadcastChannelProvider* GetBroadcastChannelProvider(); 80 BroadcastChannelProvider* GetBroadcastChannelProvider();
81 81
82 // mojom::StoragePartitionService interface. 82 // mojom::StoragePartitionService interface.
83 void OpenLocalStorage( 83 void OpenLocalStorage(
84 const url::Origin& origin, 84 const url::Origin& origin,
85 mojom::LevelDBObserverPtr observer,
86 mojo::InterfaceRequest<mojom::LevelDBWrapper> request) override; 85 mojo::InterfaceRequest<mojom::LevelDBWrapper> request) override;
87 86
88 void ClearDataForOrigin(uint32_t remove_mask, 87 void ClearDataForOrigin(uint32_t remove_mask,
89 uint32_t quota_storage_remove_mask, 88 uint32_t quota_storage_remove_mask,
90 const GURL& storage_origin, 89 const GURL& storage_origin,
91 net::URLRequestContextGetter* request_context_getter, 90 net::URLRequestContextGetter* request_context_getter,
92 const base::Closure& callback) override; 91 const base::Closure& callback) override;
93 void ClearData(uint32_t remove_mask, 92 void ClearData(uint32_t remove_mask,
94 uint32_t quota_storage_remove_mask, 93 uint32_t quota_storage_remove_mask,
95 const GURL& storage_origin, 94 const GURL& storage_origin,
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 BrowserContext* browser_context_; 227 BrowserContext* browser_context_;
229 228
230 base::WeakPtrFactory<StoragePartitionImpl> weak_factory_; 229 base::WeakPtrFactory<StoragePartitionImpl> weak_factory_;
231 230
232 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); 231 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl);
233 }; 232 };
234 233
235 } // namespace content 234 } // namespace content
236 235
237 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ 236 #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