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/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 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 BrowserThread::IO, FROM_HERE, | 558 BrowserThread::IO, FROM_HERE, |
559 base::Bind( | 559 base::Bind( |
560 &ResourceDispatcherHost::CancelRequestsForContext, | 560 &ResourceDispatcherHost::CancelRequestsForContext, |
561 base::Unretained(ResourceDispatcherHost::Get()), | 561 base::Unretained(ResourceDispatcherHost::Get()), |
562 &resource_context_)); | 562 &resource_context_)); |
563 bool posted = BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this); | 563 bool posted = BrowserThread::DeleteSoon(BrowserThread::IO, FROM_HERE, this); |
564 if (!posted) | 564 if (!posted) |
565 delete this; | 565 delete this; |
566 } | 566 } |
567 | 567 |
568 void ProfileIOData::set_origin_bound_cert_service( | 568 void ProfileIOData::set_server_bound_cert_service( |
569 net::OriginBoundCertService* origin_bound_cert_service) const { | 569 net::ServerBoundCertService* server_bound_cert_service) const { |
570 origin_bound_cert_service_.reset(origin_bound_cert_service); | 570 server_bound_cert_service_.reset(server_bound_cert_service); |
571 } | 571 } |
OLD | NEW |