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

Unified Diff: chrome/browser/extensions/activity_log/ad_injection_browsertest.cc

Issue 242303002: Add implementation for Ad Networks Database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/browser/extensions/activity_log/ad_injection_browsertest.cc
diff --git a/chrome/browser/extensions/activity_log/ad_injection_browsertest.cc b/chrome/browser/extensions/activity_log/ad_injection_browsertest.cc
index 2df700d1628031ccf2761a79467d12487857dd43..608afac2a22273e43f7e509cecb8e684ff3c537b 100644
--- a/chrome/browser/extensions/activity_log/ad_injection_browsertest.cc
+++ b/chrome/browser/extensions/activity_log/ad_injection_browsertest.cc
@@ -91,9 +91,12 @@ class TestAdNetworkDatabase : public AdNetworkDatabase {
public:
TestAdNetworkDatabase();
virtual ~TestAdNetworkDatabase();
- virtual bool IsAdNetwork(const GURL& url) const OVERRIDE;
private:
felt 2014/04/23 03:01:36 Is there any reason why the browsertest has differ
Devlin 2014/04/23 18:16:55 Yeah, it's a C++ trick that we commonly do in orde
+ // AdNetworkDatabase implementation.
+ virtual bool IsEnabled() const OVERRIDE { return true; }
+ virtual bool IsAdNetwork(const GURL& url) const OVERRIDE;
+
GURL ad_network_url_;
};

Powered by Google App Engine
This is Rietveld 408576698