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

Unified Diff: net/base/cookie_monster.cc

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove "httpsv" scheme, minor NSS/OpenSSL changes 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
« no previous file with comments | « net/base/connection_type_histograms.h ('k') | net/base/net_error_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_monster.cc
diff --git a/net/base/cookie_monster.cc b/net/base/cookie_monster.cc
index e24b6be5ca6457954e49e35d30646613f729cd5a..f0cb121acc3f4f304580bcaaf7b5b32b70e8d8f3 100644
--- a/net/base/cookie_monster.cc
+++ b/net/base/cookie_monster.cc
@@ -981,8 +981,9 @@ int CookieMonster::TrimDuplicateCookiesForKey(
void CookieMonster::SetDefaultCookieableSchemes() {
// Note: file must be the last scheme.
- static const char* kDefaultCookieableSchemes[] = { "http", "https", "file" };
- int num_schemes = enable_file_scheme_ ? 3 : 2;
+ static const char* kDefaultCookieableSchemes[] =
+ { "http", "https", "file" };
+ int num_schemes = enable_file_scheme_ ? 4 : 3;
SetCookieableSchemes(kDefaultCookieableSchemes, num_schemes);
}
« no previous file with comments | « net/base/connection_type_histograms.h ('k') | net/base/net_error_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698