Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: components/omnibox/browser/scored_history_match.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 COMPONENTS_OMNIBOX_BROWSER_SCORED_HISTORY_MATCH_H_ 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_SCORED_HISTORY_MATCH_H_
6 #define COMPONENTS_OMNIBOX_BROWSER_SCORED_HISTORY_MATCH_H_ 6 #define COMPONENTS_OMNIBOX_BROWSER_SCORED_HISTORY_MATCH_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 #include <vector> 11 #include <vector>
10 12
11 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
12 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
13 #include "base/time/time.h" 15 #include "base/time/time.h"
14 #include "components/history/core/browser/history_match.h" 16 #include "components/history/core/browser/history_match.h"
15 #include "components/history/core/browser/history_types.h" 17 #include "components/history/core/browser/history_types.h"
16 #include "components/omnibox/browser/in_memory_url_index_types.h" 18 #include "components/omnibox/browser/in_memory_url_index_types.h"
17 19
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 static char hqp_relevance_buckets_str_[]; 196 static char hqp_relevance_buckets_str_[];
195 197
196 // |hqp_relevance_buckets_| gives mapping from (topicality*frequency) 198 // |hqp_relevance_buckets_| gives mapping from (topicality*frequency)
197 // to the final relevance scoring. Please see GetFinalRelevancyScore() 199 // to the final relevance scoring. Please see GetFinalRelevancyScore()
198 // for more details and scoring method. 200 // for more details and scoring method.
199 static std::vector<ScoreMaxRelevance>* hqp_relevance_buckets_; 201 static std::vector<ScoreMaxRelevance>* hqp_relevance_buckets_;
200 }; 202 };
201 typedef std::vector<ScoredHistoryMatch> ScoredHistoryMatches; 203 typedef std::vector<ScoredHistoryMatch> ScoredHistoryMatches;
202 204
203 #endif // COMPONENTS_OMNIBOX_BROWSER_SCORED_HISTORY_MATCH_H_ 205 #endif // COMPONENTS_OMNIBOX_BROWSER_SCORED_HISTORY_MATCH_H_
OLDNEW
« no previous file with comments | « components/omnibox/browser/omnibox_view_unittest.cc ('k') | components/omnibox/browser/search_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698