Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
don’t replace the data source otherwise pending requests will be lost
Browse files Browse the repository at this point in the history
  • Loading branch information
bridiver committed Jun 11, 2017
1 parent 8316ae1 commit 5e013b2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ class BraveDataSource : public content::URLDataSource,
return mime_type;
}

bool ShouldReplaceExistingSource() const override {
return false;
}

bool ShouldAddContentSecurityPolicy() const override {
return false;
}
Expand Down

0 comments on commit 5e013b2

Please sign in to comment.