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

Unified Diff: chrome/browser/autocomplete/keyword_provider_unittest.cc

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: use system srp and mpi libs, not local copies Created 9 years, 8 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
Index: chrome/browser/autocomplete/keyword_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/keyword_provider_unittest.cc b/chrome/browser/autocomplete/keyword_provider_unittest.cc
index 5874ccaaf97861c4c237707e6bf586420e6b1566..42b79e4e6747dcff8c728780f6b7a135ab7cc869 100644
--- a/chrome/browser/autocomplete/keyword_provider_unittest.cc
+++ b/chrome/browser/autocomplete/keyword_provider_unittest.cc
@@ -106,8 +106,8 @@ TEST_F(KeywordProviderTest, Edit) {
{ASCIIToUTF16("aaaa foo"), 1, {ASCIIToUTF16("aaaa foo")}},
{ASCIIToUTF16("www.aaaa foo"), 1, {ASCIIToUTF16("aaaa foo")}},
- // Clean up keyword input properly. "http" and "https" are the only
- // allowed schemes.
+ // Clean up keyword input properly. "http", "https", and "httpsv" are the
+ // only allowed schemes.
{ASCIIToUTF16("www"), 1, {ASCIIToUTF16("www ")}},
{ASCIIToUTF16("www."), 0, {}},
{ASCIIToUTF16("www.w w"), 2, {ASCIIToUTF16("www w"),
@@ -118,6 +118,7 @@ TEST_F(KeywordProviderTest, Edit) {
{ASCIIToUTF16("mailto:z"), 0, {}},
{ASCIIToUTF16("ftp://z"), 0, {}},
{ASCIIToUTF16("https://z"), 1, {ASCIIToUTF16("z ")}},
+ {ASCIIToUTF16("httpsv://z"), 1, {ASCIIToUTF16("z ")}},
};
RunTest<string16>(edit_cases, arraysize(edit_cases),

Powered by Google App Engine
This is Rietveld 408576698