| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/profile_io_data.h" | 5 #include "chrome/browser/profiles/profile_io_data.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 #include "chrome/common/pref_names.h" | 38 #include "chrome/common/pref_names.h" |
| 39 #include "chrome/common/url_constants.h" | 39 #include "chrome/common/url_constants.h" |
| 40 #include "content/browser/appcache/chrome_appcache_service.h" | 40 #include "content/browser/appcache/chrome_appcache_service.h" |
| 41 #include "content/browser/browser_thread.h" | 41 #include "content/browser/browser_thread.h" |
| 42 #include "content/browser/chrome_blob_storage_context.h" | 42 #include "content/browser/chrome_blob_storage_context.h" |
| 43 #include "content/browser/host_zoom_map.h" | 43 #include "content/browser/host_zoom_map.h" |
| 44 #include "content/browser/renderer_host/resource_dispatcher_host.h" | 44 #include "content/browser/renderer_host/resource_dispatcher_host.h" |
| 45 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" | 45 #include "content/browser/renderer_host/resource_dispatcher_host_request_info.h" |
| 46 #include "content/browser/resource_context.h" | 46 #include "content/browser/resource_context.h" |
| 47 #include "content/common/notification_service.h" | 47 #include "content/common/notification_service.h" |
| 48 #include "net/base/origin_bound_cert_service.h" |
| 48 #include "net/http/http_transaction_factory.h" | 49 #include "net/http/http_transaction_factory.h" |
| 49 #include "net/http/http_util.h" | 50 #include "net/http/http_util.h" |
| 50 #include "net/proxy/proxy_config_service_fixed.h" | 51 #include "net/proxy/proxy_config_service_fixed.h" |
| 51 #include "net/proxy/proxy_script_fetcher_impl.h" | 52 #include "net/proxy/proxy_script_fetcher_impl.h" |
| 52 #include "net/proxy/proxy_service.h" | 53 #include "net/proxy/proxy_service.h" |
| 53 #include "net/url_request/url_request.h" | 54 #include "net/url_request/url_request.h" |
| 54 #include "webkit/blob/blob_data.h" | 55 #include "webkit/blob/blob_data.h" |
| 55 #include "webkit/blob/blob_url_request_job_factory.h" | 56 #include "webkit/blob/blob_url_request_job_factory.h" |
| 56 #include "webkit/fileapi/file_system_context.h" | 57 #include "webkit/fileapi/file_system_context.h" |
| 57 #include "webkit/fileapi/file_system_url_request_job_factory.h" | 58 #include "webkit/fileapi/file_system_url_request_job_factory.h" |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 530 BrowserThread::IO, FROM_HERE, | 531 BrowserThread::IO, FROM_HERE, |
| 531 base::Bind( | 532 base::Bind( |
| 532 &ResourceDispatcherHost::CancelRequestsForContext, | 533 &ResourceDispatcherHost::CancelRequestsForContext, |
| 533 base::Unretained(g_browser_process->resource_dispatcher_host()), | 534 base::Unretained(g_browser_process->resource_dispatcher_host()), |
| 534 &resource_context_)); | 535 &resource_context_)); |
| 535 bool posted = BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, | 536 bool posted = BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, |
| 536 new ReleaseTask<ProfileIOData>(this)); | 537 new ReleaseTask<ProfileIOData>(this)); |
| 537 if (!posted) | 538 if (!posted) |
| 538 Release(); | 539 Release(); |
| 539 } | 540 } |
| 541 |
| 542 void ProfileIOData::set_origin_bound_cert_service( |
| 543 net::OriginBoundCertService* origin_bound_cert_service) const { |
| 544 origin_bound_cert_service_.reset(origin_bound_cert_service); |
| 545 } |
| OLD | NEW |