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/autocomplete/autocomplete.h" | 5 #include "chrome/browser/autocomplete/autocomplete.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <iterator> |
8 #include <set> | 9 #include <set> |
9 | 10 |
10 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
11 #include "base/command_line.h" | 12 #include "base/command_line.h" |
12 #include "base/i18n/number_formatting.h" | 13 #include "base/i18n/number_formatting.h" |
13 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram.h" |
14 #include "base/string_number_conversions.h" | 15 #include "base/string_number_conversions.h" |
15 #include "base/string_util.h" | 16 #include "base/string_util.h" |
16 #include "base/utf_string_conversions.h" | 17 #include "base/utf_string_conversions.h" |
17 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" | 18 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" |
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1124 const AutocompleteResult& result) | 1125 const AutocompleteResult& result) |
1125 : text(text), | 1126 : text(text), |
1126 input_type(input_type), | 1127 input_type(input_type), |
1127 selected_index(selected_index), | 1128 selected_index(selected_index), |
1128 tab_id(tab_id), | 1129 tab_id(tab_id), |
1129 elapsed_time_since_user_first_modified_omnibox( | 1130 elapsed_time_since_user_first_modified_omnibox( |
1130 elapsed_time_since_user_first_modified_omnibox), | 1131 elapsed_time_since_user_first_modified_omnibox), |
1131 inline_autocompleted_length(inline_autocompleted_length), | 1132 inline_autocompleted_length(inline_autocompleted_length), |
1132 result(result) { | 1133 result(result) { |
1133 } | 1134 } |
OLD | NEW |