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

Unified Diff: content/public/browser/content_browser_client.cc

Issue 2740013008: Fix tab restore for view-source Chrome extension pages. (Closed)
Patch Set: Charlie's nit Created 3 years, 9 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
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.cc
diff --git a/content/public/browser/content_browser_client.cc b/content/public/browser/content_browser_client.cc
index f625bd9194b9f70a972e6057e49dfbac4ca26b06..f9f587be5b12f72a55688107add330dbba06c116 100644
--- a/content/public/browser/content_browser_client.cc
+++ b/content/public/browser/content_browser_client.cc
@@ -63,6 +63,11 @@ bool ContentBrowserClient::ShouldLockToOrigin(BrowserContext* browser_context,
return true;
}
+void ContentBrowserClient::GetAdditionalViewSourceSchemes(
+ std::vector<std::string>* additional_schemes) {
+ GetAdditionalWebUISchemes(additional_schemes);
+}
+
bool ContentBrowserClient::LogWebUIUrl(const GURL& web_ui_url) const {
return false;
}
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698