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

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

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 // 76 //
77 // If |clear_result| is true, the controller will also erase the result set. 77 // If |clear_result| is true, the controller will also erase the result set.
78 void Stop(bool clear_result); 78 void Stop(bool clear_result);
79 79
80 // Begin asynchronously fetching zero-suggest suggestions for |url| of 80 // Begin asynchronously fetching zero-suggest suggestions for |url| of
81 // classification |page_classification|. |permanent_text| is the omnibox 81 // classification |page_classification|. |permanent_text| is the omnibox
82 // text for the current page. 82 // text for the current page.
83 void StartZeroSuggest( 83 void StartZeroSuggest(
84 const GURL& url, 84 const GURL& url,
85 AutocompleteInput::PageClassification page_classification, 85 AutocompleteInput::PageClassification page_classification,
86 const string16& permanent_text); 86 const base::string16& permanent_text);
87 87
88 // Cancels any pending zero-suggest fetch. 88 // Cancels any pending zero-suggest fetch.
89 void StopZeroSuggest(); 89 void StopZeroSuggest();
90 90
91 // Asks the relevant provider to delete |match|, and ensures observers are 91 // Asks the relevant provider to delete |match|, and ensures observers are
92 // notified of resulting changes immediately. This should only be called when 92 // notified of resulting changes immediately. This should only be called when
93 // no query is running. 93 // no query is running.
94 void DeleteMatch(const AutocompleteMatch& match); 94 void DeleteMatch(const AutocompleteMatch& match);
95 95
96 // Removes any entries that were copied from the last result. This is used by 96 // Removes any entries that were copied from the last result. This is used by
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 // Has StartZeroSuggest() been called but not Start()? 238 // Has StartZeroSuggest() been called but not Start()?
239 bool in_zero_suggest_; 239 bool in_zero_suggest_;
240 240
241 Profile* profile_; 241 Profile* profile_;
242 242
243 DISALLOW_COPY_AND_ASSIGN(AutocompleteController); 243 DISALLOW_COPY_AND_ASSIGN(AutocompleteController);
244 }; 244 };
245 245
246 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_ 246 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_classifier.cc ('k') | chrome/browser/autocomplete/autocomplete_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698