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

Unified Diff: extensions/renderer/dom_activity_logger.cc

Issue 672403002: Cleanup: Remove most enable_extensions logic in extensions code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 6 years, 2 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 | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/messaging_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dom_activity_logger.cc
diff --git a/extensions/renderer/dom_activity_logger.cc b/extensions/renderer/dom_activity_logger.cc
index 98408ee4576105b7d8ae417494858b2e12562094..213e14766cafbd6d964009e47d92431445e2e324 100644
--- a/extensions/renderer/dom_activity_logger.cc
+++ b/extensions/renderer/dom_activity_logger.cc
@@ -47,7 +47,6 @@ DOMActivityLogger::~DOMActivityLogger() {}
void DOMActivityLogger::AttachToWorld(int world_id,
const std::string& extension_id) {
-#if defined(ENABLE_EXTENSIONS)
// If there is no logger registered for world_id, construct a new logger
// and register it with world_id.
if (!blink::hasDOMActivityLogger(world_id,
@@ -57,7 +56,6 @@ void DOMActivityLogger::AttachToWorld(int world_id,
WebString::fromUTF8(extension_id),
logger);
}
-#endif
}
void DOMActivityLogger::logGetter(const WebString& api_name,
« no previous file with comments | « extensions/renderer/dispatcher.cc ('k') | extensions/renderer/messaging_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698