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

Unified Diff: chrome/common/extensions/ad_injection_constants.h

Issue 247953008: Extend DOMActivityLogger interface for upcoming change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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: chrome/common/extensions/ad_injection_constants.h
diff --git a/chrome/common/extensions/ad_injection_constants.h b/chrome/common/extensions/ad_injection_constants.h
index 2d08393f4362c7d7d8fdb461444bbe368227819e..d33c569c3d82683911ccd90c67072f125165349d 100644
--- a/chrome/common/extensions/ad_injection_constants.h
+++ b/chrome/common/extensions/ad_injection_constants.h
@@ -5,6 +5,8 @@
#ifndef CHROME_COMMON_EXTENSIONS_AD_INJECTION_CONSTANTS_H_
#define CHROME_COMMON_EXTENSIONS_AD_INJECTION_CONSTANTS_H_
+#include <string>
+
#include "base/basictypes.h"
namespace extensions {
@@ -29,7 +31,7 @@ extern const size_t kMaximumDepthToCheck;
// Returns true if the given |api| can potentially inject ads, and should
// therefore be examined.
-bool ApiCanInjectAds(const char* api);
+bool ApiCanInjectAds(const std::string& api);
} // namespace ad_injection_constants
} // namespace extensions
« no previous file with comments | « no previous file | chrome/common/extensions/ad_injection_constants.cc » ('j') | chrome/renderer/extensions/dom_activity_logger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698