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

Unified Diff: chrome/browser/extensions/extension_protocols.cc

Issue 19547009: Move ".crx"/".pem" constants and extension_filenames constants into extensions/common/constants.cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
Index: chrome/browser/extensions/extension_protocols.cc
diff --git a/chrome/browser/extensions/extension_protocols.cc b/chrome/browser/extensions/extension_protocols.cc
index 5bb7a98b7ae407eb64ea7edf79824070531e5e93..b1313981c72c415bee8e04e0e67184bc3e0ea797 100644
--- a/chrome/browser/extensions/extension_protocols.cc
+++ b/chrome/browser/extensions/extension_protocols.cc
@@ -482,7 +482,8 @@ ExtensionProtocolHandler::MaybeCreateJob(
std::string path = request->url().path();
if (path.size() > 1 &&
- path.substr(1) == extension_filenames::kGeneratedBackgroundPageFilename) {
+ (path.substr(1) ==
+ extensions::filenames::kGeneratedBackgroundPageFilename)) {
return new GeneratedBackgroundPageJob(
request, network_delegate, extension, content_security_policy);
}

Powered by Google App Engine
This is Rietveld 408576698