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_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 | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
13 #include "base/synchronization/cancellation_flag.h" | 12 #include "base/synchronization/cancellation_flag.h" |
14 #include "chrome/browser/autocomplete/autocomplete_input.h" | 13 #include "chrome/browser/autocomplete/autocomplete_input.h" |
15 #include "chrome/browser/autocomplete/history_provider.h" | 14 #include "chrome/browser/autocomplete/history_provider.h" |
16 #include "chrome/browser/autocomplete/history_provider_util.h" | 15 #include "chrome/browser/autocomplete/history_provider_util.h" |
17 #include "chrome/browser/autocomplete/url_prefix.h" | 16 #include "chrome/browser/autocomplete/url_prefix.h" |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 // parameter itself is freed once it's no longer needed. The only reason we | 278 // parameter itself is freed once it's no longer needed. The only reason we |
280 // keep this member is so we can set the cancel bit on it. | 279 // keep this member is so we can set the cancel bit on it. |
281 HistoryURLProviderParams* params_; | 280 HistoryURLProviderParams* params_; |
282 | 281 |
283 // Only used by unittests; if non-empty, overrides accept-languages in the | 282 // Only used by unittests; if non-empty, overrides accept-languages in the |
284 // profile's pref system. | 283 // profile's pref system. |
285 std::string languages_; | 284 std::string languages_; |
286 }; | 285 }; |
287 | 286 |
288 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ | 287 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_URL_PROVIDER_H_ |
OLD | NEW |