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

Side by Side Diff: headless/lib/browser/headless_browser_context_impl.cc

Issue 2777063008: Connect BackgroundFetch to the OfflineItemCollection
Patch Set: Code review comments 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "headless/lib/browser/headless_browser_context_impl.h" 5 #include "headless/lib/browser/headless_browser_context_impl.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 195
196 content::SSLHostStateDelegate* 196 content::SSLHostStateDelegate*
197 HeadlessBrowserContextImpl::GetSSLHostStateDelegate() { 197 HeadlessBrowserContextImpl::GetSSLHostStateDelegate() {
198 return nullptr; 198 return nullptr;
199 } 199 }
200 200
201 content::PermissionManager* HeadlessBrowserContextImpl::GetPermissionManager() { 201 content::PermissionManager* HeadlessBrowserContextImpl::GetPermissionManager() {
202 return nullptr; 202 return nullptr;
203 } 203 }
204 204
205 content::BackgroundFetchClient*
206 HeadlessBrowserContextImpl::GetBackgroundFetchClient() {
207 return nullptr;
208 }
209
205 content::BackgroundSyncController* 210 content::BackgroundSyncController*
206 HeadlessBrowserContextImpl::GetBackgroundSyncController() { 211 HeadlessBrowserContextImpl::GetBackgroundSyncController() {
207 return nullptr; 212 return nullptr;
208 } 213 }
209 214
210 net::URLRequestContextGetter* HeadlessBrowserContextImpl::CreateRequestContext( 215 net::URLRequestContextGetter* HeadlessBrowserContextImpl::CreateRequestContext(
211 content::ProtocolHandlerMap* protocol_handlers, 216 content::ProtocolHandlerMap* protocol_handlers,
212 content::URLRequestInterceptorScopedVector request_interceptors) { 217 content::URLRequestInterceptorScopedVector request_interceptors) {
213 scoped_refptr<HeadlessURLRequestContextGetter> url_request_context_getter( 218 scoped_refptr<HeadlessURLRequestContextGetter> url_request_context_getter(
214 new HeadlessURLRequestContextGetter( 219 new HeadlessURLRequestContextGetter(
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 HeadlessBrowserContext::Builder::MojoBindings::MojoBindings() {} 417 HeadlessBrowserContext::Builder::MojoBindings::MojoBindings() {}
413 418
414 HeadlessBrowserContext::Builder::MojoBindings::MojoBindings( 419 HeadlessBrowserContext::Builder::MojoBindings::MojoBindings(
415 const std::string& mojom_name, 420 const std::string& mojom_name,
416 const std::string& js_bindings) 421 const std::string& js_bindings)
417 : mojom_name(mojom_name), js_bindings(js_bindings) {} 422 : mojom_name(mojom_name), js_bindings(js_bindings) {}
418 423
419 HeadlessBrowserContext::Builder::MojoBindings::~MojoBindings() {} 424 HeadlessBrowserContext::Builder::MojoBindings::~MojoBindings() {}
420 425
421 } // namespace headless 426 } // namespace headless
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698