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/predictors/autocomplete_action_predictor.h" | 5 #include "chrome/browser/predictors/autocomplete_action_predictor.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
| 8 #include <stddef.h> |
8 | 9 |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "base/bind.h" | 12 #include "base/bind.h" |
12 #include "base/guid.h" | 13 #include "base/guid.h" |
13 #include "base/i18n/case_conversion.h" | 14 #include "base/i18n/case_conversion.h" |
| 15 #include "base/macros.h" |
14 #include "base/metrics/histogram.h" | 16 #include "base/metrics/histogram.h" |
15 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
16 #include "base/strings/stringprintf.h" | 18 #include "base/strings/stringprintf.h" |
17 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
18 #include "chrome/browser/chrome_notification_types.h" | 20 #include "chrome/browser/chrome_notification_types.h" |
19 #include "chrome/browser/history/history_service_factory.h" | 21 #include "chrome/browser/history/history_service_factory.h" |
20 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" | 22 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" |
21 #include "chrome/browser/predictors/predictor_database.h" | 23 #include "chrome/browser/predictors/predictor_database.h" |
22 #include "chrome/browser/predictors/predictor_database_factory.h" | 24 #include "chrome/browser/predictors/predictor_database_factory.h" |
23 #include "chrome/browser/prerender/prerender_field_trial.h" | 25 #include "chrome/browser/prerender/prerender_field_trial.h" |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 history_service_observer_.Remove(history_service); | 589 history_service_observer_.Remove(history_service); |
588 } | 590 } |
589 | 591 |
590 AutocompleteActionPredictor::TransitionalMatch::TransitionalMatch() { | 592 AutocompleteActionPredictor::TransitionalMatch::TransitionalMatch() { |
591 } | 593 } |
592 | 594 |
593 AutocompleteActionPredictor::TransitionalMatch::~TransitionalMatch() { | 595 AutocompleteActionPredictor::TransitionalMatch::~TransitionalMatch() { |
594 } | 596 } |
595 | 597 |
596 } // namespace predictors | 598 } // namespace predictors |
OLD | NEW |