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

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

Issue 2965015: Attempt four at landing the "histogram.h removed from message_loop.h" patch. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win build fixes Created 10 years, 5 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
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_unittest.cc ('k') | chrome/browser/browser_init.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This file contains the Search autocomplete provider. This provider is 5 // This file contains the Search autocomplete provider. This provider is
6 // responsible for all non-keyword autocomplete entries that start with 6 // responsible for all non-keyword autocomplete entries that start with
7 // "Search <engine> for ...", including searching for the current input string, 7 // "Search <engine> for ...", including searching for the current input string,
8 // search history, and search suggestions. An instance of it gets created and 8 // search history, and search suggestions. An instance of it gets created and
9 // managed by the autocomplete controller. 9 // managed by the autocomplete controller.
10 // 10 //
11 // For more information on the autocomplete system in general, including how 11 // For more information on the autocomplete system in general, including how
12 // the autocomplete controller and autocomplete providers work, see 12 // the autocomplete controller and autocomplete providers work, see
13 // chrome/browser/autocomplete.h. 13 // chrome/browser/autocomplete.h.
14 14
15 #ifndef CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_ 15 #ifndef CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_
16 #define CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_ 16 #define CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_
17 17
18 #include <map> 18 #include <map>
19 #include <string> 19 #include <string>
20 #include <vector> 20 #include <vector>
21 21
22 #include "base/scoped_ptr.h"
22 #include "chrome/browser/autocomplete/autocomplete.h" 23 #include "chrome/browser/autocomplete/autocomplete.h"
23 #include "chrome/browser/cancelable_request.h" 24 #include "chrome/browser/cancelable_request.h"
24 #include "chrome/browser/history/history_types.h" 25 #include "chrome/browser/history/history_types.h"
25 #include "chrome/browser/search_engines/template_url.h" 26 #include "chrome/browser/search_engines/template_url.h"
26 #include "chrome/common/net/url_fetcher.h" 27 #include "chrome/common/net/url_fetcher.h"
27 28
28 class Profile; 29 class Profile;
29 class Value; 30 class Value;
30 31
31 // Autocomplete provider for searches and suggestions from a search engine. 32 // Autocomplete provider for searches and suggestions from a search engine.
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 NavigationResults keyword_navigation_results_; 319 NavigationResults keyword_navigation_results_;
319 NavigationResults default_navigation_results_; 320 NavigationResults default_navigation_results_;
320 321
321 // Whether suggest_results_ is valid. 322 // Whether suggest_results_ is valid.
322 bool have_suggest_results_; 323 bool have_suggest_results_;
323 324
324 DISALLOW_COPY_AND_ASSIGN(SearchProvider); 325 DISALLOW_COPY_AND_ASSIGN(SearchProvider);
325 }; 326 };
326 327
327 #endif // CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_ 328 #endif // CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_unittest.cc ('k') | chrome/browser/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698