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

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

Issue 1187943006: Revert of Componentize HistoryURLProvider/ScoredHistoryMatch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prepare_history_url_provider_for_c14n
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
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_IN_MEMORY_URL_INDEX_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_IN_MEMORY_URL_INDEX_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_IN_MEMORY_URL_INDEX_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_IN_MEMORY_URL_INDEX_H_
7 7
8 #include <functional> 8 #include <functional>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/basictypes.h" 14 #include "base/basictypes.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/strings/string16.h" 19 #include "base/strings/string16.h"
20 #include "base/task/cancelable_task_tracker.h" 20 #include "base/task/cancelable_task_tracker.h"
21 #include "chrome/browser/autocomplete/scored_history_match.h"
21 #include "components/history/core/browser/history_db_task.h" 22 #include "components/history/core/browser/history_db_task.h"
22 #include "components/history/core/browser/history_service_observer.h" 23 #include "components/history/core/browser/history_service_observer.h"
23 #include "components/history/core/browser/history_types.h" 24 #include "components/history/core/browser/history_types.h"
24 #include "components/keyed_service/core/keyed_service.h" 25 #include "components/keyed_service/core/keyed_service.h"
25 #include "components/omnibox/scored_history_match.h"
26 26
27 class HistoryQuickProviderTest; 27 class HistoryQuickProviderTest;
28 28
29 namespace base { 29 namespace base {
30 class SequencedTaskRunner; 30 class SequencedTaskRunner;
31 class Time; 31 class Time;
32 } 32 }
33 33
34 namespace bookmarks { 34 namespace bookmarks {
35 class BookmarkModel; 35 class BookmarkModel;
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 bool needs_to_be_cached_; 308 bool needs_to_be_cached_;
309 309
310 // This flag is set to true if we want to listen to the 310 // This flag is set to true if we want to listen to the
311 // HistoryServiceLoaded Notification. 311 // HistoryServiceLoaded Notification.
312 bool listen_to_history_service_loaded_; 312 bool listen_to_history_service_loaded_;
313 313
314 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); 314 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex);
315 }; 315 };
316 316
317 #endif // CHROME_BROWSER_AUTOCOMPLETE_IN_MEMORY_URL_INDEX_H_ 317 #endif // CHROME_BROWSER_AUTOCOMPLETE_IN_MEMORY_URL_INDEX_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/history_url_provider_unittest.cc ('k') | chrome/browser/autocomplete/scored_history_match.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698