| 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 #ifndef CHROME_BROWSER_WEBDATA_AUTOFILL_ENTRY_H__ | 5 #ifndef COMPONENTS_WEBDATA_AUTOFILL_AUTOFILL_ENTRY_H__ |
| 6 #define CHROME_BROWSER_WEBDATA_AUTOFILL_ENTRY_H__ | 6 #define COMPONENTS_WEBDATA_AUTOFILL_AUTOFILL_ENTRY_H__ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "base/time.h" | 13 #include "base/time.h" |
| 14 | 14 |
| 15 class AutofillKey { | 15 class AutofillKey { |
| 16 public: | 16 public: |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // See http://crbug.com/118696. | 61 // See http://crbug.com/118696. |
| 62 // |source| is expected to be sorted from oldest to newest. | 62 // |source| is expected to be sorted from oldest to newest. |
| 63 static bool CullTimeStamps(const std::vector<base::Time>& source, | 63 static bool CullTimeStamps(const std::vector<base::Time>& source, |
| 64 std::vector<base::Time>* result); | 64 std::vector<base::Time>* result); |
| 65 | 65 |
| 66 AutofillKey key_; | 66 AutofillKey key_; |
| 67 std::vector<base::Time> timestamps_; | 67 std::vector<base::Time> timestamps_; |
| 68 bool timestamps_culled_; | 68 bool timestamps_culled_; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 #endif // CHROME_BROWSER_WEBDATA_AUTOFILL_ENTRY_H__ | 71 #endif // COMPONENTS_WEBDATA_AUTOFILL_AUTOFILL_ENTRY_H__ |
| OLD | NEW |