Commit 8ad40981 authored by agl@chromium.org's avatar agl@chromium.org

net: add codereview sites to HSTS preloaded.

Review URL: https://chromiumcodereview.appspot.com/10830118

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149851 0039d316-1c4b-4281-b951-d872f2087c98
parent 08abb30c
...@@ -581,7 +581,7 @@ struct PublicKeyPins { ...@@ -581,7 +581,7 @@ struct PublicKeyPins {
struct HSTSPreload { struct HSTSPreload {
uint8 length; uint8 length;
bool include_subdomains; bool include_subdomains;
char dns_name[30]; char dns_name[34];
bool https_required; bool https_required;
PublicKeyPins pins; PublicKeyPins pins;
SecondLevelDomainName second_level_domain_name; SecondLevelDomainName second_level_domain_name;
......
...@@ -323,6 +323,8 @@ static const struct HSTSPreload kPreloadedSTS[] = { ...@@ -323,6 +323,8 @@ static const struct HSTSPreload kPreloadedSTS[] = {
{16, true, "\012googleplex\003com", true, kGooglePins, DOMAIN_GOOGLEPLEX_COM }, {16, true, "\012googleplex\003com", true, kGooglePins, DOMAIN_GOOGLEPLEX_COM },
{19, true, "\006groups\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM }, {19, true, "\006groups\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM },
{17, true, "\004apis\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM }, {17, true, "\004apis\006google\003com", true, kGooglePins, DOMAIN_GOOGLE_COM },
{32, true, "\022chromiumcodereview\007appspot\003com", true, kGooglePins, DOMAIN_APPSPOT_COM },
{24, true, "\012codereview\007appspot\003com", true, kGooglePins, DOMAIN_APPSPOT_COM },
{23, true, "\005chart\004apis\006google\003com", false, kGooglePins, DOMAIN_GOOGLE_COM }, {23, true, "\005chart\004apis\006google\003com", false, kGooglePins, DOMAIN_GOOGLE_COM },
{11, true, "\005ytimg\003com", false, kGooglePins, DOMAIN_YTIMG_COM }, {11, true, "\005ytimg\003com", false, kGooglePins, DOMAIN_YTIMG_COM },
{23, true, "\021googleusercontent\003com", false, kGooglePins, DOMAIN_GOOGLEUSERCONTENT_COM }, {23, true, "\021googleusercontent\003com", false, kGooglePins, DOMAIN_GOOGLEUSERCONTENT_COM },
......
...@@ -165,6 +165,8 @@ ...@@ -165,6 +165,8 @@
{ "name": "googleplex.com", "include_subdomains": true, "mode": "force-https", "pins": "google" }, { "name": "googleplex.com", "include_subdomains": true, "mode": "force-https", "pins": "google" },
{ "name": "groups.google.com", "include_subdomains": true, "mode": "force-https", "pins": "google" }, { "name": "groups.google.com", "include_subdomains": true, "mode": "force-https", "pins": "google" },
{ "name": "apis.google.com", "include_subdomains": true, "mode": "force-https", "pins": "google" }, { "name": "apis.google.com", "include_subdomains": true, "mode": "force-https", "pins": "google" },
{ "name": "chromiumcodereview.appspot.com", "include_subdomains": true, "mode": "force-https", "pins": "google" },
{ "name": "codereview.appspot.com", "include_subdomains": true, "mode": "force-https", "pins": "google" },
// chart.apis.google.com is *not* HSTS because the certificate doesn't match // chart.apis.google.com is *not* HSTS because the certificate doesn't match
// and there are lots of links out there that still use the name. The correct // and there are lots of links out there that still use the name. The correct
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment