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

Unified Diff: chrome/common/secure_origin_whitelist_unittest.cc

Issue 1192013003: [Extension ServiceWorkers] Allow service worker registration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comments to test Created 5 years, 5 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/common/secure_origin_whitelist_unittest.cc
diff --git a/chrome/common/secure_origin_whitelist_unittest.cc b/chrome/common/secure_origin_whitelist_unittest.cc
index 65865ef6dfa83d4ead2cb44687a677acf9a9bcf5..261456518a38a4c7f90fc552cd6e69bc4ea2f1c9 100644
--- a/chrome/common/secure_origin_whitelist_unittest.cc
+++ b/chrome/common/secure_origin_whitelist_unittest.cc
@@ -26,7 +26,7 @@ TEST(SecureOriginWhiteList, UnsafelyTreatInsecureOriginAsSecure) {
switches::kUnsafelyTreatInsecureOriginAsSecure,
"http://example.com,http://127.example.com");
command_line->AppendSwitch(switches::kUserDataDir);
- content::ResetSecureSchemesAndOriginsForTesting();
+ content::ResetSchemesAndOriginsWhitelistForTesting();
// They should be now white-listed.
EXPECT_TRUE(content::IsOriginSecure(GURL("http://example.com/a.html")));
« no previous file with comments | « chrome/common/chrome_content_client.cc ('k') | chrome/test/data/extensions/api_test/service_worker/fetch/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698