Commit 0f1396ae authored by Adithya Srinivasan's avatar Adithya Srinivasan Committed by Commit Bot

Remove const method from ContentRendererClient

Bug: 908139
Change-Id: Ic4924d7794603d8e7106775666506fe446bc6e02
Reviewed-on: https://chromium-review.googlesource.com/c/1370185Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#615183}
parent 061816c5
......@@ -1410,7 +1410,7 @@ bool ChromeContentRendererClient::IsKeySystemsUpdateNeeded() {
}
bool ChromeContentRendererClient::ShouldReportDetailedMessageForSource(
const base::string16& source) const {
const base::string16& source) {
#if BUILDFLAG(ENABLE_EXTENSIONS)
return extensions::IsSourceFromAnExtension(source);
#else
......
......@@ -178,7 +178,7 @@ class ChromeContentRendererClient
std::unique_ptr<blink::WebSpeechSynthesizer> OverrideSpeechSynthesizer(
blink::WebSpeechSynthesizerClient* client) override;
bool ShouldReportDetailedMessageForSource(
const base::string16& source) const override;
const base::string16& source) override;
std::unique_ptr<blink::WebContentSettingsClient>
CreateWorkerContentSettingsClient(
content::RenderFrame* render_frame) override;
......
......@@ -193,7 +193,7 @@ ContentRendererClient::CreateMediaStreamRendererFactory() {
}
bool ContentRendererClient::ShouldReportDetailedMessageForSource(
const base::string16& source) const {
const base::string16& source) {
return false;
}
......
......@@ -290,7 +290,7 @@ class CONTENT_EXPORT ContentRendererClient {
// reported source for the error; this can point to a page or a script,
// and can be external or internal.
virtual bool ShouldReportDetailedMessageForSource(
const base::string16& source) const;
const base::string16& source);
// Creates a permission client for in-renderer worker.
virtual std::unique_ptr<blink::WebContentSettingsClient>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment