| 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_CONTENTS_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_HISTORY_CONTENTS_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_CONTENTS_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_HISTORY_CONTENTS_PROVIDER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/autocomplete/history_provider.h" | 9 #include "chrome/browser/autocomplete/history_provider.h" |
| 10 #include "chrome/browser/history/history.h" | 10 #include "chrome/browser/history/history.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 bool trim_http_; | 77 bool trim_http_; |
| 78 | 78 |
| 79 // Results from most recent query. These are cached so we don't have to | 79 // Results from most recent query. These are cached so we don't have to |
| 80 // re-issue queries for "minor changes" (which don't affect this provider). | 80 // re-issue queries for "minor changes" (which don't affect this provider). |
| 81 history::QueryResults results_; | 81 history::QueryResults results_; |
| 82 | 82 |
| 83 // Whether results_ is valid (so we can tell invalid apart from empty). | 83 // Whether results_ is valid (so we can tell invalid apart from empty). |
| 84 bool have_results_; | 84 bool have_results_; |
| 85 | 85 |
| 86 // Current query string. | 86 // Current query string. |
| 87 string16 query_; | 87 std::wstring query_; |
| 88 | 88 |
| 89 DISALLOW_COPY_AND_ASSIGN(HistoryContentsProvider); | 89 DISALLOW_COPY_AND_ASSIGN(HistoryContentsProvider); |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_CONTENTS_PROVIDER_H_ | 92 #endif // CHROME_BROWSER_AUTOCOMPLETE_HISTORY_CONTENTS_PROVIDER_H_ |
| OLD | NEW |