| Index: chrome/renderer/chrome_content_renderer_client.cc
|
| diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
|
| index ad59ffb0853a06d4366cfa7e54cf708d3a3b0e28..48bc0a03a8d6c08e0b4d839a8606e632ac7071c1 100644
|
| --- a/chrome/renderer/chrome_content_renderer_client.cc
|
| +++ b/chrome/renderer/chrome_content_renderer_client.cc
|
| @@ -1007,10 +1007,8 @@
|
| bool is_photo_app =
|
| // Whitelisted apps must be served over https.
|
| app_url.SchemeIsCryptographic() && manifest_url.SchemeIsCryptographic() &&
|
| - (base::EndsWith(app_url_host, "plus.google.com",
|
| - base::CompareCase::INSENSITIVE_ASCII) ||
|
| - base::EndsWith(app_url_host, "plus.sandbox.google.com",
|
| - base::CompareCase::INSENSITIVE_ASCII)) &&
|
| + (base::EndsWith(app_url_host, "plus.google.com", false) ||
|
| + base::EndsWith(app_url_host, "plus.sandbox.google.com", false)) &&
|
| manifest_url.DomainIs("ssl.gstatic.com") &&
|
| (manifest_url_path.find("s2/oz/nacl/") == 1 ||
|
| manifest_url_path.find("photos/nacl/") == 1);
|
| @@ -1023,12 +1021,9 @@
|
| // Whitelisted apps must be served over secure scheme.
|
| app_url.SchemeIsCryptographic() && manifest_url.SchemeIsFileSystem() &&
|
| manifest_url.inner_url()->SchemeIsCryptographic() &&
|
| - (base::EndsWith(app_url_host, "talkgadget.google.com",
|
| - base::CompareCase::INSENSITIVE_ASCII) ||
|
| - base::EndsWith(app_url_host, "plus.google.com",
|
| - base::CompareCase::INSENSITIVE_ASCII) ||
|
| - base::EndsWith(app_url_host, "plus.sandbox.google.com",
|
| - base::CompareCase::INSENSITIVE_ASCII)) &&
|
| + (base::EndsWith(app_url_host, "talkgadget.google.com", false) ||
|
| + base::EndsWith(app_url_host, "plus.google.com", false) ||
|
| + base::EndsWith(app_url_host, "plus.sandbox.google.com", false)) &&
|
| // The manifest must be loaded from the host's FileSystem.
|
| (manifest_fs_host == app_url_host);
|
|
|
|
|