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

Unified Diff: content/browser/child_process_security_policy_impl.h

Issue 1362433002: Fix for "chrome://" links in PDFs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/browser/child_process_security_policy_impl.h
diff --git a/content/browser/child_process_security_policy_impl.h b/content/browser/child_process_security_policy_impl.h
index 309b667bccb235cecea5869c3a7397aa0bd03e25..894ca0257e3befaf2b0caa089c7ac45ea0ca8b2c 100644
--- a/content/browser/child_process_security_policy_impl.h
+++ b/content/browser/child_process_security_policy_impl.h
@@ -61,6 +61,8 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
void GrantDeleteFromFileSystem(int child_id,
const std::string& filesystem_id) override;
void GrantScheme(int child_id, const std::string& scheme) override;
+ void GrantSchemeHost(int child_id, const std::string& scheme,
+ const std::string& host) override;
Charlie Reis 2015/09/22 17:38:15 Style nit: "For function declarations and definiti
paulmeyer 2015/09/22 22:13:57 Done.
bool CanReadFile(int child_id, const base::FilePath& file) override;
bool CanCreateReadWriteFile(int child_id,
const base::FilePath& file) override;

Powered by Google App Engine
This is Rietveld 408576698