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

Unified Diff: components/feedback/feedback_common_unittest.cc

Issue 2217163003: Clean up and modernize the feedback code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keeping it as a clean-up only CL. Created 4 years, 4 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/feedback/feedback_common.cc ('k') | components/feedback/feedback_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/feedback/feedback_common_unittest.cc
diff --git a/components/feedback/feedback_common_unittest.cc b/components/feedback/feedback_common_unittest.cc
index 5a4f99d9bfa0762c87e5678ee33f8a77737a1c6b..539bd8f7567edf83fcc2032ea996b5301d77c098 100644
--- a/components/feedback/feedback_common_unittest.cc
+++ b/components/feedback/feedback_common_unittest.cc
@@ -37,6 +37,8 @@ class FeedbackCommonTest : public testing::Test {
~FeedbackCommonTest() override {}
+ void CompressLogs() { feedback_->CompressLogs(); }
+
bool FeedbackHasProductId() const { return feedback_->HasProductId(); }
scoped_refptr<FeedbackCommon> feedback_;
@@ -92,7 +94,7 @@ TEST_F(FeedbackCommonTest, TestCompression) {
// added with the right name.
feedback_->AddLog(kOne, kTwo);
feedback_->AddLog(kThree, kLongLog);
- feedback_->CompressLogs();
+ CompressLogs();
feedback_->PrepareReport(&report_);
EXPECT_EQ(1, report_.product_specific_binary_data_size());
« no previous file with comments | « components/feedback/feedback_common.cc ('k') | components/feedback/feedback_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698