| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_HISTORY_URL_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <vector> | 9 #include <vector> |
| 10 #include <deque> | 10 #include <deque> |
| 11 | 11 |
| 12 #include "base/ref_counted.h" | |
| 13 #include "chrome/browser/autocomplete/autocomplete.h" | 12 #include "chrome/browser/autocomplete/autocomplete.h" |
| 14 #include "chrome/browser/history/history_database.h" | 13 #include "chrome/browser/history/history_database.h" |
| 15 #include "chrome/browser/profile.h" | 14 #include "chrome/browser/profile.h" |
| 16 | 15 |
| 17 class HistoryService; | 16 class HistoryService; |
| 18 class MessageLoop; | 17 class MessageLoop; |
| 19 | 18 |
| 20 namespace history { | 19 namespace history { |
| 21 | 20 |
| 22 class HistoryBackend; | 21 class HistoryBackend; |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 const Prefixes prefixes_; | 383 const Prefixes prefixes_; |
| 385 | 384 |
| 386 // Params for the current query. The provider should not free this directly; | 385 // Params for the current query. The provider should not free this directly; |
| 387 // instead, it is passed as a parameter through the history backend, and the | 386 // instead, it is passed as a parameter through the history backend, and the |
| 388 // parameter itself is freed once it's no longer needed. The only reason we | 387 // parameter itself is freed once it's no longer needed. The only reason we |
| 389 // keep this member is so we can set the cancel bit on it. | 388 // keep this member is so we can set the cancel bit on it. |
| 390 HistoryURLProviderParams* params_; | 389 HistoryURLProviderParams* params_; |
| 391 }; | 390 }; |
| 392 | 391 |
| 393 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ | 392 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ |
| OLD | NEW |