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

Unified Diff: content/common/content_security_policy/csp_context.h

Issue 2792973004: Moved all tests about bypassing CSP into csp-tests (content layer) (Closed)
Patch Set: CR changes Jochen Created 3 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
Index: content/common/content_security_policy/csp_context.h
diff --git a/content/common/content_security_policy/csp_context.h b/content/common/content_security_policy/csp_context.h
index 695dfe59e2528da0570c9b2f44e646f82fc078c8..45895e638f26f95e5b80aae89a89b864cc4d5049 100644
--- a/content/common/content_security_policy/csp_context.h
+++ b/content/common/content_security_policy/csp_context.h
@@ -52,9 +52,9 @@ class CONTENT_EXPORT CSPContext {
policies_.push_back(policy);
}
- private:
virtual bool SchemeShouldBypassCSP(const base::StringPiece& scheme);
+ private:
bool has_self_ = false;
std::string self_scheme_;
CSPSource self_source_;

Powered by Google App Engine
This is Rietveld 408576698