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

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

Issue 509203002: Create a mechanism for reporting rappor metrics from non-UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | components/rappor/rappor_metric.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/activity_log/ad_injection_unittest.cc
diff --git a/chrome/browser/extensions/activity_log/ad_injection_unittest.cc b/chrome/browser/extensions/activity_log/ad_injection_unittest.cc
index e8accd8b78777bea857387cb62e31d86f89a5878..3dd6bd91e0a312ae45a1ac5db35a2109e86e8ce7 100644
--- a/chrome/browser/extensions/activity_log/ad_injection_unittest.cc
+++ b/chrome/browser/extensions/activity_log/ad_injection_unittest.cc
@@ -51,8 +51,9 @@ class TestRapporService : public rappor::RapporService {
TestRapporService::TestRapporService()
: rappor::RapporService(&prefs_) {
// Initialize the RapporService for testing.
- SetCohortForTesting(0);
- SetSecretForTesting(rappor::HmacByteVectorGenerator::GenerateEntropyInput());
+ Initialize(0,
+ rappor::HmacByteVectorGenerator::GenerateEntropyInput(),
+ rappor::FINE_LEVEL);
}
TestRapporService::~TestRapporService() {}
« no previous file with comments | « no previous file | components/rappor/rappor_metric.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698