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

Side by Side Diff: content/public/browser/browser_context.h

Issue 2898443002: Implement GetBrowsingDataRemoverDelegate() for BrowserContext subclasses (Closed)
Patch Set: More fixes. Created 3 years, 7 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_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_
6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // Returns the PermissionManager associated with that context if any, nullptr 228 // Returns the PermissionManager associated with that context if any, nullptr
229 // otherwise. 229 // otherwise.
230 virtual PermissionManager* GetPermissionManager() = 0; 230 virtual PermissionManager* GetPermissionManager() = 0;
231 231
232 // Returns the BackgroundSyncController associated with that context if any, 232 // Returns the BackgroundSyncController associated with that context if any,
233 // nullptr otherwise. 233 // nullptr otherwise.
234 virtual BackgroundSyncController* GetBackgroundSyncController() = 0; 234 virtual BackgroundSyncController* GetBackgroundSyncController() = 0;
235 235
236 // Returns the BrowsingDataRemoverDelegate for this context. This will be 236 // Returns the BrowsingDataRemoverDelegate for this context. This will be
237 // called once per context. It's valid to return nullptr. 237 // called once per context. It's valid to return nullptr.
238 virtual BrowsingDataRemoverDelegate* GetBrowsingDataRemoverDelegate(); 238 virtual BrowsingDataRemoverDelegate* GetBrowsingDataRemoverDelegate() = 0;
239 239
240 // Creates the main net::URLRequestContextGetter. It's called only once. 240 // Creates the main net::URLRequestContextGetter. It's called only once.
241 virtual net::URLRequestContextGetter* CreateRequestContext( 241 virtual net::URLRequestContextGetter* CreateRequestContext(
242 ProtocolHandlerMap* protocol_handlers, 242 ProtocolHandlerMap* protocol_handlers,
243 URLRequestInterceptorScopedVector request_interceptors) = 0; 243 URLRequestInterceptorScopedVector request_interceptors) = 0;
244 244
245 // Creates the net::URLRequestContextGetter for a StoragePartition. It's 245 // Creates the net::URLRequestContextGetter for a StoragePartition. It's
246 // called only once per partition_path. 246 // called only once per partition_path.
247 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 247 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
248 const base::FilePath& partition_path, 248 const base::FilePath& partition_path,
(...skipping 27 matching lines...) Expand all
276 // 2) The embedder saves its salt across restarts. 276 // 2) The embedder saves its salt across restarts.
277 static std::string CreateRandomMediaDeviceIDSalt(); 277 static std::string CreateRandomMediaDeviceIDSalt();
278 278
279 private: 279 private:
280 const std::string media_device_id_salt_; 280 const std::string media_device_id_salt_;
281 }; 281 };
282 282
283 } // namespace content 283 } // namespace content
284 284
285 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_ 285 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/browser/download/download_manager_impl_unittest.cc ('k') | content/public/test/test_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698