24 lines
1.1 KiB
Diff
24 lines
1.1 KiB
Diff
|
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
||
|
Date: Sun, 28 Oct 2018 14:11:50 +0100
|
||
|
Subject: Offer builtin autocomplete for chrome://flags
|
||
|
|
||
|
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
||
|
---
|
||
|
.../browser/autocomplete/chrome_autocomplete_provider_client.cc | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||
|
--- a/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||
|
+++ b/chrome/browser/autocomplete/chrome_autocomplete_provider_client.cc
|
||
|
@@ -296,6 +296,8 @@ std::vector<std::u16string> ChromeAutocompleteProviderClient::GetBuiltinURLs() {
|
||
|
std::vector<std::u16string>
|
||
|
ChromeAutocompleteProviderClient::GetBuiltinsToProvideAsUserTypes() {
|
||
|
std::vector<std::u16string> builtins_to_provide;
|
||
|
+ builtins_to_provide.push_back(
|
||
|
+ base::ASCIIToUTF16(chrome::kChromeUIFlagsURL));
|
||
|
builtins_to_provide.push_back(
|
||
|
base::ASCIIToUTF16(chrome::kChromeUIChromeURLsURL));
|
||
|
builtins_to_provide.push_back(
|
||
|
--
|
||
|
2.25.1
|