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

Side by Side Diff: chrome/browser/autocomplete/url_index_private_data.h

Issue 1178203004: Componentize InMemoryURLIndexTypes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « chrome/browser/autocomplete/scored_history_match.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_AUTOCOMPLETE_URL_INDEX_PRIVATE_DATA_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_URL_INDEX_PRIVATE_DATA_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_URL_INDEX_PRIVATE_DATA_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_URL_INDEX_PRIVATE_DATA_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "chrome/browser/autocomplete/in_memory_url_index_cache.pb.h" 14 #include "chrome/browser/autocomplete/in_memory_url_index_cache.pb.h"
15 #include "chrome/browser/autocomplete/in_memory_url_index_types.h"
16 #include "chrome/browser/autocomplete/scored_history_match.h" 15 #include "chrome/browser/autocomplete/scored_history_match.h"
17 #include "components/history/core/browser/history_service.h" 16 #include "components/history/core/browser/history_service.h"
17 #include "components/omnibox/in_memory_url_index_types.h"
18 18
19 class HistoryQuickProviderTest; 19 class HistoryQuickProviderTest;
20 20
21 namespace bookmarks { 21 namespace bookmarks {
22 class BookmarkModel; 22 class BookmarkModel;
23 } 23 }
24 24
25 namespace in_memory_url_index { 25 namespace in_memory_url_index {
26 class InMemoryURLIndexCacheItem; 26 class InMemoryURLIndexCacheItem;
27 } 27 }
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 int saved_cache_version_; 398 int saved_cache_version_;
399 399
400 // Used for unit testing only. Records the number of candidate history items 400 // Used for unit testing only. Records the number of candidate history items
401 // at three stages in the index searching process. 401 // at three stages in the index searching process.
402 size_t pre_filter_item_count_; // After word index is queried. 402 size_t pre_filter_item_count_; // After word index is queried.
403 size_t post_filter_item_count_; // After trimming large result set. 403 size_t post_filter_item_count_; // After trimming large result set.
404 size_t post_scoring_item_count_; // After performing final filter/scoring. 404 size_t post_scoring_item_count_; // After performing final filter/scoring.
405 }; 405 };
406 406
407 #endif // CHROME_BROWSER_AUTOCOMPLETE_URL_INDEX_PRIVATE_DATA_H_ 407 #endif // CHROME_BROWSER_AUTOCOMPLETE_URL_INDEX_PRIVATE_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/scored_history_match.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698