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

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

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 #include "chromecast/browser/cast_browser_context.h" 5 #include "chromecast/browser/cast_browser_context.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 content::SSLHostStateDelegate* CastBrowserContext::GetSSLHostStateDelegate() { 123 content::SSLHostStateDelegate* CastBrowserContext::GetSSLHostStateDelegate() {
124 return nullptr; 124 return nullptr;
125 } 125 }
126 126
127 content::PermissionManager* CastBrowserContext::GetPermissionManager() { 127 content::PermissionManager* CastBrowserContext::GetPermissionManager() {
128 if (!permission_manager_.get()) 128 if (!permission_manager_.get())
129 permission_manager_.reset(new CastPermissionManager()); 129 permission_manager_.reset(new CastPermissionManager());
130 return permission_manager_.get(); 130 return permission_manager_.get();
131 } 131 }
132 132
133 content::BackgroundFetchClient* CastBrowserContext::GetBackgroundFetchClient() {
134 return nullptr;
135 }
136
133 content::BackgroundSyncController* 137 content::BackgroundSyncController*
134 CastBrowserContext::GetBackgroundSyncController() { 138 CastBrowserContext::GetBackgroundSyncController() {
135 return nullptr; 139 return nullptr;
136 } 140 }
137 141
138 net::URLRequestContextGetter* CastBrowserContext::CreateRequestContext( 142 net::URLRequestContextGetter* CastBrowserContext::CreateRequestContext(
139 content::ProtocolHandlerMap* protocol_handlers, 143 content::ProtocolHandlerMap* protocol_handlers,
140 content::URLRequestInterceptorScopedVector request_interceptors) { 144 content::URLRequestInterceptorScopedVector request_interceptors) {
141 return url_request_context_factory_->CreateMainGetter( 145 return url_request_context_factory_->CreateMainGetter(
142 this, protocol_handlers, std::move(request_interceptors)); 146 this, protocol_handlers, std::move(request_interceptors));
(...skipping 13 matching lines...) Expand all
156 } 160 }
157 161
158 net::URLRequestContextGetter* 162 net::URLRequestContextGetter*
159 CastBrowserContext::CreateMediaRequestContextForStoragePartition( 163 CastBrowserContext::CreateMediaRequestContextForStoragePartition(
160 const base::FilePath& partition_path, bool in_memory) { 164 const base::FilePath& partition_path, bool in_memory) {
161 return nullptr; 165 return nullptr;
162 } 166 }
163 167
164 } // namespace shell 168 } // namespace shell
165 } // namespace chromecast 169 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698