| 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 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "chrome/browser/omnibox/omnibox_log.h" | 23 #include "chrome/browser/omnibox/omnibox_log.h" |
| 24 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" | 24 #include "chrome/browser/predictors/autocomplete_action_predictor_factory.h" |
| 25 #include "chrome/browser/predictors/predictor_database.h" | 25 #include "chrome/browser/predictors/predictor_database.h" |
| 26 #include "chrome/browser/predictors/predictor_database_factory.h" | 26 #include "chrome/browser/predictors/predictor_database_factory.h" |
| 27 #include "chrome/browser/prerender/prerender_field_trial.h" | 27 #include "chrome/browser/prerender/prerender_field_trial.h" |
| 28 #include "chrome/browser/prerender/prerender_handle.h" | 28 #include "chrome/browser/prerender/prerender_handle.h" |
| 29 #include "chrome/browser/prerender/prerender_manager.h" | 29 #include "chrome/browser/prerender/prerender_manager.h" |
| 30 #include "chrome/browser/prerender/prerender_manager_factory.h" | 30 #include "chrome/browser/prerender/prerender_manager_factory.h" |
| 31 #include "chrome/browser/profiles/profile.h" | 31 #include "chrome/browser/profiles/profile.h" |
| 32 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h" | 32 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h" |
| 33 #include "components/autocomplete/autocomplete_match.h" | |
| 34 #include "components/history/core/browser/in_memory_database.h" | 33 #include "components/history/core/browser/in_memory_database.h" |
| 34 #include "components/omnibox/autocomplete_match.h" |
| 35 #include "content/public/browser/browser_thread.h" | 35 #include "content/public/browser/browser_thread.h" |
| 36 #include "content/public/browser/notification_details.h" | 36 #include "content/public/browser/notification_details.h" |
| 37 #include "content/public/browser/notification_service.h" | 37 #include "content/public/browser/notification_service.h" |
| 38 #include "content/public/browser/notification_source.h" | 38 #include "content/public/browser/notification_source.h" |
| 39 | 39 |
| 40 namespace { | 40 namespace { |
| 41 | 41 |
| 42 const float kConfidenceCutoff[] = { | 42 const float kConfidenceCutoff[] = { |
| 43 0.8f, | 43 0.8f, |
| 44 0.5f | 44 0.5f |
| (...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 return number_of_hits / (number_of_hits + value.number_of_misses); | 603 return number_of_hits / (number_of_hits + value.number_of_misses); |
| 604 } | 604 } |
| 605 | 605 |
| 606 AutocompleteActionPredictor::TransitionalMatch::TransitionalMatch() { | 606 AutocompleteActionPredictor::TransitionalMatch::TransitionalMatch() { |
| 607 } | 607 } |
| 608 | 608 |
| 609 AutocompleteActionPredictor::TransitionalMatch::~TransitionalMatch() { | 609 AutocompleteActionPredictor::TransitionalMatch::~TransitionalMatch() { |
| 610 } | 610 } |
| 611 | 611 |
| 612 } // namespace predictors | 612 } // namespace predictors |
| OLD | NEW |