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/webdata/autofill_entry.h" | 5 #include "components/webdata/autofill/autofill_entry.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 // The period after which Autofill entries should expire in days. | 15 // The period after which Autofill entries should expire in days. |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 return false; | 116 return false; |
117 } | 117 } |
118 | 118 |
119 result->push_back(source.front()); | 119 result->push_back(source.front()); |
120 result->push_back(source.back()); | 120 result->push_back(source.back()); |
121 | 121 |
122 DVLOG(1) << "Culling timestamps. Current count is : " << source.size(); | 122 DVLOG(1) << "Culling timestamps. Current count is : " << source.size(); |
123 | 123 |
124 return true; | 124 return true; |
125 } | 125 } |
OLD | NEW |