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

Side by Side Diff: chromecast/browser/cast_browser_context.h

Issue 2777063008: Connect BackgroundFetch to the OfflineItemCollection
Patch Set: Fixed incognito check and added tests Created 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_ 5 #ifndef CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_
6 #define CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_ 6 #define CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/browser_context.h" 10 #include "content/public/browser/browser_context.h"
(...skipping 19 matching lines...) Expand all
30 const base::FilePath& partition_path) override; 30 const base::FilePath& partition_path) override;
31 base::FilePath GetPath() const override; 31 base::FilePath GetPath() const override;
32 bool IsOffTheRecord() const override; 32 bool IsOffTheRecord() const override;
33 content::ResourceContext* GetResourceContext() override; 33 content::ResourceContext* GetResourceContext() override;
34 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override; 34 content::DownloadManagerDelegate* GetDownloadManagerDelegate() override;
35 content::BrowserPluginGuestManager* GetGuestManager() override; 35 content::BrowserPluginGuestManager* GetGuestManager() override;
36 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 36 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
37 content::PushMessagingService* GetPushMessagingService() override; 37 content::PushMessagingService* GetPushMessagingService() override;
38 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; 38 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override;
39 content::PermissionManager* GetPermissionManager() override; 39 content::PermissionManager* GetPermissionManager() override;
40 content::BackgroundFetchClient* GetBackgroundFetchClient() override;
40 content::BackgroundSyncController* GetBackgroundSyncController() override; 41 content::BackgroundSyncController* GetBackgroundSyncController() override;
41 net::URLRequestContextGetter* CreateRequestContext( 42 net::URLRequestContextGetter* CreateRequestContext(
42 content::ProtocolHandlerMap* protocol_handlers, 43 content::ProtocolHandlerMap* protocol_handlers,
43 content::URLRequestInterceptorScopedVector request_interceptors) override; 44 content::URLRequestInterceptorScopedVector request_interceptors) override;
44 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( 45 net::URLRequestContextGetter* CreateRequestContextForStoragePartition(
45 const base::FilePath& partition_path, 46 const base::FilePath& partition_path,
46 bool in_memory, 47 bool in_memory,
47 content::ProtocolHandlerMap* protocol_handlers, 48 content::ProtocolHandlerMap* protocol_handlers,
48 content::URLRequestInterceptorScopedVector request_interceptors) override; 49 content::URLRequestInterceptorScopedVector request_interceptors) override;
49 net::URLRequestContextGetter* CreateMediaRequestContext() override; 50 net::URLRequestContextGetter* CreateMediaRequestContext() override;
(...skipping 16 matching lines...) Expand all
66 std::unique_ptr<CastDownloadManagerDelegate> download_manager_delegate_; 67 std::unique_ptr<CastDownloadManagerDelegate> download_manager_delegate_;
67 std::unique_ptr<content::PermissionManager> permission_manager_; 68 std::unique_ptr<content::PermissionManager> permission_manager_;
68 69
69 DISALLOW_COPY_AND_ASSIGN(CastBrowserContext); 70 DISALLOW_COPY_AND_ASSIGN(CastBrowserContext);
70 }; 71 };
71 72
72 } // namespace shell 73 } // namespace shell
73 } // namespace chromecast 74 } // namespace chromecast
74 75
75 #endif // CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_ 76 #endif // CHROMECAST_BROWSER_CAST_BROWSER_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698