OLD | NEW |
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 #include "chrome/browser/profiles/off_the_record_profile_io_data.h" | 5 #include "chrome/browser/profiles/off_the_record_profile_io_data.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 std::move(protocol_handler_interceptor), context->network_delegate(), | 352 std::move(protocol_handler_interceptor), context->network_delegate(), |
353 context->host_resolver()); | 353 context->host_resolver()); |
354 context->SetJobFactory(std::move(top_job_factory)); | 354 context->SetJobFactory(std::move(top_job_factory)); |
355 return context; | 355 return context; |
356 } | 356 } |
357 | 357 |
358 net::URLRequestContext* | 358 net::URLRequestContext* |
359 OffTheRecordProfileIOData::InitializeMediaRequestContext( | 359 OffTheRecordProfileIOData::InitializeMediaRequestContext( |
360 net::URLRequestContext* original_context, | 360 net::URLRequestContext* original_context, |
361 const StoragePartitionDescriptor& partition_descriptor, | 361 const StoragePartitionDescriptor& partition_descriptor, |
362 const std::string& name) const { | 362 const char* name) const { |
363 NOTREACHED(); | 363 NOTREACHED(); |
364 return NULL; | 364 return NULL; |
365 } | 365 } |
366 | 366 |
367 net::URLRequestContext* | 367 net::URLRequestContext* |
368 OffTheRecordProfileIOData::AcquireMediaRequestContext() const { | 368 OffTheRecordProfileIOData::AcquireMediaRequestContext() const { |
369 NOTREACHED(); | 369 NOTREACHED(); |
370 return NULL; | 370 return NULL; |
371 } | 371 } |
372 | 372 |
(...skipping 14 matching lines...) Expand all Loading... |
387 return app_request_context; | 387 return app_request_context; |
388 } | 388 } |
389 | 389 |
390 net::URLRequestContext* | 390 net::URLRequestContext* |
391 OffTheRecordProfileIOData::AcquireIsolatedMediaRequestContext( | 391 OffTheRecordProfileIOData::AcquireIsolatedMediaRequestContext( |
392 net::URLRequestContext* app_context, | 392 net::URLRequestContext* app_context, |
393 const StoragePartitionDescriptor& partition_descriptor) const { | 393 const StoragePartitionDescriptor& partition_descriptor) const { |
394 NOTREACHED(); | 394 NOTREACHED(); |
395 return NULL; | 395 return NULL; |
396 } | 396 } |
OLD | NEW |