| Index: content/public/common/content_client.h
|
| diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
|
| index 13f0d5c57dc0b986c9c016e7404b6c71a5345440..9b9cebac720c5ff42fb525d284523ce238dbc429 100644
|
| --- a/content/public/common/content_client.h
|
| +++ b/content/public/common/content_client.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
|
| #define CONTENT_PUBLIC_COMMON_CONTENT_CLIENT_H_
|
|
|
| +#include <set>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -134,6 +135,12 @@ class CONTENT_EXPORT ContentClient {
|
| int* sandbox_profile_resource_id) const;
|
| #endif
|
|
|
| + // Gives the embedder a chance to register additional schemes and origins
|
| + // that need to be considered trustworthy.
|
| + // See https://www.w3.org/TR/powerful-features/#is-origin-trustworthy.
|
| + virtual void AddSecureSchemesAndOrigins(std::set<std::string>* schemes,
|
| + std::set<GURL>* origins) {}
|
| +
|
| private:
|
| friend class ContentClientInitializer; // To set these pointers.
|
| friend class InternalTestInitializer;
|
|
|