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

Unified Diff: extensions/common/ad_injection_constants.h

Issue 384983003: Enabling AdInjectionBrowserTest after Activity Log refactoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 6 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: extensions/common/ad_injection_constants.h
diff --git a/extensions/common/ad_injection_constants.h b/extensions/common/ad_injection_constants.h
deleted file mode 100644
index 8570b29da4043581fb164791f80272ed93d17386..0000000000000000000000000000000000000000
--- a/extensions/common/ad_injection_constants.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef EXTENSIONS_COMMON_AD_INJECTION_CONSTANTS_H_
-#define EXTENSIONS_COMMON_AD_INJECTION_CONSTANTS_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-
-namespace extensions {
-namespace ad_injection_constants {
-
-// The keys used when serializing arguments to activity action APIs.
-namespace keys {
-
-extern const char kType[];
-extern const char kChildren[];
-extern const char kSrc[];
-extern const char kHref[];
-
-} // namespace keys
-
-extern const char kHtmlIframeSrcApiName[];
-extern const char kHtmlEmbedSrcApiName[];
-extern const char kHtmlAnchorHrefApiName[];
-extern const char kAppendChildApiSuffix[];
-
-extern const size_t kMaximumChildrenToCheck;
-extern const size_t kMaximumDepthToCheck;
-
-// Returns true if the given |api| can potentially inject ads, and should
-// therefore be examined.
-bool ApiCanInjectAds(const std::string& api);
-
-} // namespace ad_injection_constants
-} // namespace extensions
-
-#endif // EXTENSIONS_COMMON_AD_INJECTION_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698