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

Unified Diff: chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc

Issue 2660333007: Enable NTPTilesInInstantService by default (Closed)
Patch Set: fix tests Created 3 years, 10 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 | « no previous file | chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc
diff --git a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc
index 21a1e42aa2ce1a581354752a6d4c75c7bb32613c..925f9cdfaa44de326673595df2809621303983d4 100644
--- a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc
+++ b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api_unittest.cc
@@ -156,12 +156,12 @@ std::unique_ptr<KeyedService> CreateProfileSyncServiceMock(
}
class ExtensionSignedInDevicesTest : public ExtensionApiUnittest {
- public:
- void SetUp() override {
- ExtensionApiUnittest::SetUp();
-
- ProfileSyncServiceFactory::GetInstance()->SetTestingFactory(
- profile(), CreateProfileSyncServiceMock);
+ private:
+ TestingProfile* CreateProfile() override {
+ TestingProfile::Builder builder;
+ builder.AddTestingFactory(ProfileSyncServiceFactory::GetInstance(),
+ CreateProfileSyncServiceMock);
+ return builder.Build().release();
}
};
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/browser_feature_extractor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698