Add referrer_schems to AddAdditionalSchemes
This commit is contained in:
parent
57b0f288cb
commit
8d4ed037a2
2 changed files with 2 additions and 0 deletions
|
@ -181,6 +181,7 @@ base::string16 AtomContentClient::GetLocalizedString(int message_id) const {
|
|||
|
||||
void AtomContentClient::AddAdditionalSchemes(
|
||||
std::vector<url::SchemeWithType>* standard_schemes,
|
||||
std::vector<url::SchemeWithType>* referrer_schemes,
|
||||
std::vector<std::string>* savable_schemes) {
|
||||
standard_schemes->push_back({"chrome-extension", url::SCHEME_WITHOUT_PORT});
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@ class AtomContentClient : public brightray::ContentClient {
|
|||
base::string16 GetLocalizedString(int message_id) const override;
|
||||
void AddAdditionalSchemes(
|
||||
std::vector<url::SchemeWithType>* standard_schemes,
|
||||
std::vector<url::SchemeWithType>* referrer_schemes,
|
||||
std::vector<std::string>* savable_schemes) override;
|
||||
void AddPepperPlugins(
|
||||
std::vector<content::PepperPluginInfo>* plugins) override;
|
||||
|
|
Loading…
Reference in a new issue