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

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

Issue 136113019: Cleanup: Remove some unused code, or make them platform specific. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 6 years, 10 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 autocomplete entries that start with "Search <engine> 6 // responsible for all autocomplete entries that start with "Search <engine>
7 // for ...", including searching for the current input string, search 7 // for ...", including searching for the current input string, search
8 // history, and search suggestions. An instance of it gets created and 8 // 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
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 // to true if either the default provider or keyword provider has completed 682 // to true if either the default provider or keyword provider has completed
683 // and their corresponding suggest response contained 683 // and their corresponding suggest response contained
684 // '"google:fieldtrialtriggered":true'. 684 // '"google:fieldtrialtriggered":true'.
685 // If the autocomplete query has not returned, this field is set to false. 685 // If the autocomplete query has not returned, this field is set to false.
686 bool field_trial_triggered_; 686 bool field_trial_triggered_;
687 687
688 // Same as above except that it is maintained across the current Omnibox 688 // Same as above except that it is maintained across the current Omnibox
689 // session. 689 // session.
690 bool field_trial_triggered_in_session_; 690 bool field_trial_triggered_in_session_;
691 691
692 // If true, search history query suggestions will score low enough that
693 // they will not be inlined.
694 bool prevent_search_history_inlining_;
695
696 GURL current_page_url_; 692 GURL current_page_url_;
697 693
698 DISALLOW_COPY_AND_ASSIGN(SearchProvider); 694 DISALLOW_COPY_AND_ASSIGN(SearchProvider);
699 }; 695 };
700 696
701 #endif // CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_ 697 #endif // CHROME_BROWSER_AUTOCOMPLETE_SEARCH_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_controller.cc ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698