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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 2574763003: Remove chrome-extension-resource:// scheme (Closed)
Patch Set: Remove BUILD reference to resources/extension outdir. Created 4 years 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
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 4167a9c3e057e95eb87aa948aa79b139ad6ac6c9..d6bdacbdfd2bc9567c81e523fef2f6a2fbf0e44c 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -114,7 +114,6 @@
#if BUILDFLAG(ENABLE_EXTENSIONS)
#include "chrome/browser/extensions/extension_cookie_monster_delegate.h"
-#include "chrome/browser/extensions/extension_resource_protocols.h"
#include "extensions/browser/extension_protocols.h"
#include "extensions/browser/extension_system.h"
#include "extensions/browser/extension_throttle_manager.h"
@@ -736,7 +735,6 @@ bool ProfileIOData::IsHandledProtocol(const std::string& scheme) {
dom_distiller::kDomDistillerScheme,
#if BUILDFLAG(ENABLE_EXTENSIONS)
extensions::kExtensionScheme,
- extensions::kExtensionResourceScheme,
#endif
content::kChromeUIScheme,
url::kDataScheme,
@@ -1198,10 +1196,6 @@ ProfileIOData::SetUpJobFactoryDefaults(
extensions::CreateExtensionProtocolHandler(is_incognito,
extension_info_map_.get()));
DCHECK(set_protocol);
- set_protocol = job_factory->SetProtocolHandler(
- extensions::kExtensionResourceScheme,
- CreateExtensionResourceProtocolHandler());
- DCHECK(set_protocol);
#endif
set_protocol = job_factory->SetProtocolHandler(
url::kDataScheme, base::MakeUnique<net::DataProtocolHandler>());
« no previous file with comments | « chrome/browser/extensions/extension_resource_request_policy_apitest.cc ('k') | chrome/browser/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698