Chromium Code Reviews| Index: content/common/origin_util.cc |
| diff --git a/content/common/origin_util.cc b/content/common/origin_util.cc |
| index 8ae7bece7ec4dd58ad64fa523621d70e8ecb5429..1b16422ed11f209dbc38c3bd7bdb8e898812256d 100644 |
| --- a/content/common/origin_util.cc |
| +++ b/content/common/origin_util.cc |
| @@ -59,4 +59,8 @@ bool IsOriginSecure(const GURL& url) { |
| return false; |
| } |
| +void ResetSecureSchemesAndOriginsForTesting() { |
| + g_trustworthy_whitelist.Get().Reset(); |
| +} |
| + |
| } // namespace content |