| 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 "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "extensions/common/extension.h" | 30 #include "extensions/common/extension.h" |
| 31 #include "net/base/sdch_dictionary_fetcher.h" | 31 #include "net/base/sdch_dictionary_fetcher.h" |
| 32 #include "net/base/sdch_manager.h" | 32 #include "net/base/sdch_manager.h" |
| 33 #include "net/ftp/ftp_network_layer.h" | 33 #include "net/ftp/ftp_network_layer.h" |
| 34 #include "net/http/http_cache.h" | 34 #include "net/http/http_cache.h" |
| 35 #include "net/http/http_network_session.h" | 35 #include "net/http/http_network_session.h" |
| 36 #include "net/http/http_server_properties_impl.h" | 36 #include "net/http/http_server_properties_impl.h" |
| 37 #include "net/ssl/channel_id_service.h" | 37 #include "net/ssl/channel_id_service.h" |
| 38 #include "net/ssl/default_channel_id_store.h" | 38 #include "net/ssl/default_channel_id_store.h" |
| 39 #include "net/url_request/url_request_job_factory_impl.h" | 39 #include "net/url_request/url_request_job_factory_impl.h" |
| 40 #include "webkit/browser/database/database_tracker.h" | 40 #include "storage/browser/database/database_tracker.h" |
| 41 | 41 |
| 42 using content::BrowserThread; | 42 using content::BrowserThread; |
| 43 | 43 |
| 44 OffTheRecordProfileIOData::Handle::Handle(Profile* profile) | 44 OffTheRecordProfileIOData::Handle::Handle(Profile* profile) |
| 45 : io_data_(new OffTheRecordProfileIOData(profile->GetProfileType())), | 45 : io_data_(new OffTheRecordProfileIOData(profile->GetProfileType())), |
| 46 profile_(profile), | 46 profile_(profile), |
| 47 initialized_(false) { | 47 initialized_(false) { |
| 48 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 48 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
| 49 DCHECK(profile); | 49 DCHECK(profile); |
| 50 } | 50 } |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 return app_request_context; | 410 return app_request_context; |
| 411 } | 411 } |
| 412 | 412 |
| 413 net::URLRequestContext* | 413 net::URLRequestContext* |
| 414 OffTheRecordProfileIOData::AcquireIsolatedMediaRequestContext( | 414 OffTheRecordProfileIOData::AcquireIsolatedMediaRequestContext( |
| 415 net::URLRequestContext* app_context, | 415 net::URLRequestContext* app_context, |
| 416 const StoragePartitionDescriptor& partition_descriptor) const { | 416 const StoragePartitionDescriptor& partition_descriptor) const { |
| 417 NOTREACHED(); | 417 NOTREACHED(); |
| 418 return NULL; | 418 return NULL; |
| 419 } | 419 } |
| OLD | NEW |