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

Unified Diff: trunk/src/chrome/common/extensions/ad_injection_constants.cc

Issue 259003005: Revert 266157 "Extend DOMActivityLogger interface for upcoming c..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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: trunk/src/chrome/common/extensions/ad_injection_constants.cc
===================================================================
--- trunk/src/chrome/common/extensions/ad_injection_constants.cc (revision 266598)
+++ trunk/src/chrome/common/extensions/ad_injection_constants.cc (working copy)
@@ -29,7 +29,7 @@
// The maximum depth to check when we examine a newly-added element.
extern const size_t kMaximumDepthToCheck = 5u;
-bool ApiCanInjectAds(const std::string& api) {
+bool ApiCanInjectAds(const char* api) {
return api == kHtmlIframeSrcApiName ||
api == kHtmlEmbedSrcApiName ||
EndsWith(api, kAppendChildApiSuffix, true /* case sensitive */);

Powered by Google App Engine
This is Rietveld 408576698