Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: chrome/browser/autocomplete/history_contents_provider.h

Issue 6306011: Remove wstring from autocomplete. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 std::wstring query_; 87 string16 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698