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

Unified Diff: chrome/browser/background_sync/background_sync_controller_impl_unittest.cc

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Fix more compile errors in JNI files Created 4 years 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/background_sync/background_sync_controller_impl_unittest.cc
diff --git a/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc b/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc
index 93d1b780536590091825a964a46647d07b24a8fc..7e32abe2d3ae388d99e3d230b2611bb74c6c2e54 100644
--- a/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc
+++ b/chrome/browser/background_sync/background_sync_controller_impl_unittest.cc
@@ -28,16 +28,19 @@ const char kFieldTrialGroup[] = "GroupA";
class TestBackgroundSyncControllerImpl : public BackgroundSyncControllerImpl {
public:
- TestBackgroundSyncControllerImpl(Profile* profile,
- rappor::TestRapporService* rappor_service)
+ TestBackgroundSyncControllerImpl(
+ Profile* profile,
+ rappor::TestRapporServiceImpl* rappor_service)
: BackgroundSyncControllerImpl(profile),
rappor_service_(rappor_service) {}
protected:
- rappor::RapporService* GetRapporService() override { return rappor_service_; }
+ rappor::RapporServiceImpl* GetRapporServiceImpl() override {
+ return rappor_service_;
+ }
private:
- rappor::TestRapporService* rappor_service_;
+ rappor::TestRapporServiceImpl* rappor_service_;
DISALLOW_COPY_AND_ASSIGN(TestBackgroundSyncControllerImpl);
};
@@ -65,7 +68,7 @@ class BackgroundSyncControllerImplTest : public testing::Test {
content::TestBrowserThreadBundle thread_bundle_;
TestingProfile profile_;
- rappor::TestRapporService rappor_service_;
+ rappor::TestRapporServiceImpl rappor_service_;
std::unique_ptr<TestBackgroundSyncControllerImpl> controller_;
std::unique_ptr<base::FieldTrialList> field_trial_list_;

Powered by Google App Engine
This is Rietveld 408576698