| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 #include <deque> | |
| 11 | 10 |
| 12 #include "chrome/browser/autocomplete/autocomplete.h" | 11 #include "chrome/browser/autocomplete/autocomplete.h" |
| 13 #include "chrome/browser/history/history_types.h" | 12 #include "chrome/browser/history/history_types.h" |
| 14 | 13 |
| 15 class HistoryService; | |
| 16 class MessageLoop; | 14 class MessageLoop; |
| 17 class Profile; | 15 class Profile; |
| 18 | 16 |
| 19 namespace history { | 17 namespace history { |
| 20 class HistoryBackend; | 18 class HistoryBackend; |
| 21 } // namespace history | 19 } // namespace history |
| 22 | 20 |
| 23 // How history autocomplete works | 21 // How history autocomplete works |
| 24 // ============================== | 22 // ============================== |
| 25 // | 23 // |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 // parameter itself is freed once it's no longer needed. The only reason we | 321 // parameter itself is freed once it's no longer needed. The only reason we |
| 324 // keep this member is so we can set the cancel bit on it. | 322 // keep this member is so we can set the cancel bit on it. |
| 325 HistoryURLProviderParams* params_; | 323 HistoryURLProviderParams* params_; |
| 326 | 324 |
| 327 // Only used by unittests; if non-empty, overrides accept-languages in the | 325 // Only used by unittests; if non-empty, overrides accept-languages in the |
| 328 // profile's pref system. | 326 // profile's pref system. |
| 329 std::wstring languages_; | 327 std::wstring languages_; |
| 330 }; | 328 }; |
| 331 | 329 |
| 332 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ | 330 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ |
| OLD | NEW |