Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: chrome/browser/browsing_data/browsing_data_server_bound_cert_helper.cc

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/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/ssl/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"
16 16
17 namespace { 17 namespace {
18 18
19 class BrowsingDataServerBoundCertHelperImpl 19 class BrowsingDataServerBoundCertHelperImpl
20 : public BrowsingDataServerBoundCertHelper { 20 : public BrowsingDataServerBoundCertHelper {
21 public: 21 public:
22 explicit BrowsingDataServerBoundCertHelperImpl(Profile* profile); 22 explicit BrowsingDataServerBoundCertHelperImpl(Profile* profile);
23 23
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 for (ServerBoundCertMap::iterator i = server_bound_cert_map_.begin(); 210 for (ServerBoundCertMap::iterator i = server_bound_cert_map_.begin();
211 i != server_bound_cert_map_.end(); ++i) 211 i != server_bound_cert_map_.end(); ++i)
212 cert_list.push_back(i->second); 212 cert_list.push_back(i->second);
213 completion_callback_.Run(cert_list); 213 completion_callback_.Run(cert_list);
214 } 214 }
215 215
216 void CannedBrowsingDataServerBoundCertHelper::DeleteServerBoundCert( 216 void CannedBrowsingDataServerBoundCertHelper::DeleteServerBoundCert(
217 const std::string& server_id) { 217 const std::string& server_id) {
218 NOTREACHED(); 218 NOTREACHED();
219 } 219 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698