| 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 #ifndef CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_IN_MEMORY_URL_INDEX_H_ |
| 6 #define CHROME_BROWSER_HISTORY_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/history/core/browser/scored_history_match.h" | |
| 25 #include "sql/connection.h" | 25 #include "sql/connection.h" |
| 26 | 26 |
| 27 class HistoryService; | 27 class HistoryService; |
| 28 class HistoryQuickProviderTest; | 28 class HistoryQuickProviderTest; |
| 29 | 29 |
| 30 namespace base { | 30 namespace base { |
| 31 class Time; | 31 class Time; |
| 32 } | 32 } |
| 33 | 33 |
| 34 namespace in_memory_url_index { | 34 namespace in_memory_url_index { |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 296 |
| 297 // This flag is set to true,if we want to listen to the | 297 // This flag is set to true,if we want to listen to the |
| 298 // HistoryServiceLoaded Notification. | 298 // HistoryServiceLoaded Notification. |
| 299 bool listen_to_history_service_loaded_; | 299 bool listen_to_history_service_loaded_; |
| 300 | 300 |
| 301 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); | 301 DISALLOW_COPY_AND_ASSIGN(InMemoryURLIndex); |
| 302 }; | 302 }; |
| 303 | 303 |
| 304 } // namespace history | 304 } // namespace history |
| 305 | 305 |
| 306 #endif // CHROME_BROWSER_HISTORY_IN_MEMORY_URL_INDEX_H_ | 306 #endif // CHROME_BROWSER_AUTOCOMPLETE_IN_MEMORY_URL_INDEX_H_ |
| OLD | NEW |