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

Unified Diff: components/rappor/test_rappor_service.cc

Issue 845863002: Add stricter tests for RapporService::LoadSecret (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « components/rappor/test_rappor_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/rappor/test_rappor_service.cc
diff --git a/components/rappor/test_rappor_service.cc b/components/rappor/test_rappor_service.cc
index 380ae4412cbe2789a7ba744414223bc3785fb068..f355cb633b2e9c6a8941e6729b54145b97302a27 100644
--- a/components/rappor/test_rappor_service.cc
+++ b/components/rappor/test_rappor_service.cc
@@ -7,6 +7,7 @@
#include "components/rappor/byte_vector_utils.h"
#include "components/rappor/proto/rappor_metric.pb.h"
#include "components/rappor/rappor_parameters.h"
+#include "components/rappor/rappor_prefs.h"
#include "components/rappor/test_log_uploader.h"
namespace rappor {
@@ -43,14 +44,6 @@ void TestRapporService::GetReports(RapporReports* reports) {
ExportMetrics(reports);
}
-int32_t TestRapporService::LoadCohortForTesting() {
- return LoadCohort();
-}
-
-std::string TestRapporService::LoadSecretForTesting() {
- return LoadSecret();
-}
-
// Cancel the next call to OnLogInterval.
void TestRapporService::CancelNextLogRotation() {
next_rotation_ = base::TimeDelta();
« no previous file with comments | « components/rappor/test_rappor_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698