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

Unified Diff: chrome/browser/autocomplete/builtin_provider.h

Issue 6995096: Update BuiltinProvider to use chrome:// URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update tests after kChromeUICryptohomeHost was added. Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/autocomplete/builtin_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/builtin_provider.h
diff --git a/chrome/browser/autocomplete/builtin_provider.h b/chrome/browser/autocomplete/builtin_provider.h
index 6ed35b315fe57094bbe5ce8906a5045ee731a029..8e9bde352e6e1756b56741437dc99a24afd08a9f 100644
--- a/chrome/browser/autocomplete/builtin_provider.h
+++ b/chrome/browser/autocomplete/builtin_provider.h
@@ -3,7 +3,7 @@
// found in the LICENSE file.
//
// This file contains the autocomplete provider for built-in URLs,
-// such as about:settings.
+// such as about:settings and chrome://version.
//
// For more information on the autocomplete system in general, including how
// the autocomplete controller and autocomplete providers work, see
@@ -17,6 +17,7 @@
#include "base/string16.h"
#include "chrome/browser/autocomplete/autocomplete.h"
+#include "chrome/browser/autocomplete/autocomplete_match.h"
class BuiltinProvider : public AutocompleteProvider {
public:
@@ -27,9 +28,12 @@ class BuiltinProvider : public AutocompleteProvider {
virtual void Start(const AutocompleteInput& input, bool minimal_changes);
private:
+ typedef std::vector<string16> Builtins;
+
static const int kRelevance;
- typedef std::vector<string16> Builtins;
+ void AddMatch(const string16& match_string,
+ const ACMatchClassifications& styles);
Builtins builtins_;
« no previous file with comments | « no previous file | chrome/browser/autocomplete/builtin_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698