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 |