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

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

Issue 10699032: autocomplete: Extract AutocompleteResult from autocomplete.*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move comments Created 8 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 | Annotate | Revision Log
OLDNEW
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 // 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 #pragma once 17 #pragma once
18 18
19 #include <map> 19 #include <map>
20 #include <string> 20 #include <string>
21 #include <vector> 21 #include <vector>
22 22
23 #include "base/basictypes.h"
23 #include "base/memory/scoped_ptr.h" 24 #include "base/memory/scoped_ptr.h"
24 #include "base/time.h" 25 #include "base/time.h"
26 #include "base/timer.h"
25 #include "chrome/browser/autocomplete/autocomplete.h" 27 #include "chrome/browser/autocomplete/autocomplete.h"
26 #include "chrome/browser/autocomplete/autocomplete_match.h" 28 #include "chrome/browser/autocomplete/autocomplete_match.h"
27 #include "chrome/browser/autocomplete/autocomplete_provider.h" 29 #include "chrome/browser/autocomplete/autocomplete_provider.h"
28 #include "chrome/browser/history/history_types.h" 30 #include "chrome/browser/history/history_types.h"
29 #include "chrome/browser/search_engines/template_url.h" 31 #include "chrome/browser/search_engines/template_url.h"
30 #include "chrome/browser/search_engines/template_url_id.h" 32 #include "chrome/browser/search_engines/template_url_id.h"
31 #include "net/url_request/url_fetcher_delegate.h" 33 #include "net/url_request/url_fetcher_delegate.h"
32 34
33 class Profile; 35 class Profile;
34 class TemplateURLService; 36 class TemplateURLService;
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 // Has FinalizeInstantQuery been invoked since the last |Start|? 373 // Has FinalizeInstantQuery been invoked since the last |Start|?
372 bool instant_finalized_; 374 bool instant_finalized_;
373 375
374 // The |suggest_text| parameter passed to FinalizeInstantQuery. 376 // The |suggest_text| parameter passed to FinalizeInstantQuery.
375 string16 default_provider_suggest_text_; 377 string16 default_provider_suggest_text_;
376 378
377 DISALLOW_COPY_AND_ASSIGN(SearchProvider); 379 DISALLOW_COPY_AND_ASSIGN(SearchProvider);
378 }; 380 };
379 381
380 #endif // CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_ 382 #endif // CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/history_quick_provider_unittest.cc ('k') | chrome/browser/autocomplete/search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698