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/mock_browsing_data_server_bound_cert_helper.h" | 5 #include "chrome/browser/browsing_data/mock_browsing_data_server_bound_cert_help
er.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 MockBrowsingDataServerBoundCertHelper::MockBrowsingDataServerBoundCertHelper() | 9 MockBrowsingDataServerBoundCertHelper::MockBrowsingDataServerBoundCertHelper() |
10 : BrowsingDataServerBoundCertHelper() {} | 10 : BrowsingDataServerBoundCertHelper() {} |
11 | 11 |
12 MockBrowsingDataServerBoundCertHelper:: | 12 MockBrowsingDataServerBoundCertHelper:: |
13 ~MockBrowsingDataServerBoundCertHelper() {} | 13 ~MockBrowsingDataServerBoundCertHelper() {} |
14 | 14 |
15 void MockBrowsingDataServerBoundCertHelper::StartFetching( | 15 void MockBrowsingDataServerBoundCertHelper::StartFetching( |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 } | 52 } |
53 | 53 |
54 bool MockBrowsingDataServerBoundCertHelper::AllDeleted() { | 54 bool MockBrowsingDataServerBoundCertHelper::AllDeleted() { |
55 for (std::map<const std::string, bool>::const_iterator i = | 55 for (std::map<const std::string, bool>::const_iterator i = |
56 server_bound_certs_.begin(); | 56 server_bound_certs_.begin(); |
57 i != server_bound_certs_.end(); ++i) | 57 i != server_bound_certs_.end(); ++i) |
58 if (i->second) | 58 if (i->second) |
59 return false; | 59 return false; |
60 return true; | 60 return true; |
61 } | 61 } |
OLD | NEW |