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/browsing_data_server_bound_cert_helper.h" | 5 #include "chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "chrome/browser/profiles/profile.h" | 11 #include "chrome/browser/profiles/profile.h" |
12 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
13 #include "net/base/server_bound_cert_service.h" | 13 #include "net/base/server_bound_cert_service.h" |
14 #include "net/url_request/url_request_context.h" | 14 #include "net/url_request/url_request_context.h" |
15 #include "net/url_request/url_request_context_getter.h" | 15 #include "net/url_request/url_request_context_getter.h" |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 for (ServerBoundCertMap::iterator i = server_bound_cert_map_.begin(); | 187 for (ServerBoundCertMap::iterator i = server_bound_cert_map_.begin(); |
188 i != server_bound_cert_map_.end(); ++i) | 188 i != server_bound_cert_map_.end(); ++i) |
189 cert_list.push_back(i->second); | 189 cert_list.push_back(i->second); |
190 completion_callback_.Run(cert_list); | 190 completion_callback_.Run(cert_list); |
191 } | 191 } |
192 | 192 |
193 void CannedBrowsingDataServerBoundCertHelper::DeleteServerBoundCert( | 193 void CannedBrowsingDataServerBoundCertHelper::DeleteServerBoundCert( |
194 const std::string& server_id) { | 194 const std::string& server_id) { |
195 NOTREACHED(); | 195 NOTREACHED(); |
196 } | 196 } |
OLD | NEW |