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

Unified Diff: ios/public/provider/chrome/browser/test_chrome_browser_provider.mm

Issue 2482173002: [ios] Adds OmahaServiceProvider. (Closed)
Patch Set: XML Created 4 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 | « ios/public/provider/chrome/browser/test_chrome_browser_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/provider/chrome/browser/test_chrome_browser_provider.mm
diff --git a/ios/public/provider/chrome/browser/test_chrome_browser_provider.mm b/ios/public/provider/chrome/browser/test_chrome_browser_provider.mm
index ed517122f07201bd77cc8ad244cb1bb75461baae..faa284ea079244a23a91370e9ff2e74f4162adf0 100644
--- a/ios/public/provider/chrome/browser/test_chrome_browser_provider.mm
+++ b/ios/public/provider/chrome/browser/test_chrome_browser_provider.mm
@@ -10,6 +10,7 @@
#include "base/mac/scoped_nsobject.h"
#include "base/memory/ptr_util.h"
#include "ios/public/provider/chrome/browser/distribution/test_app_distribution_provider.h"
+#include "ios/public/provider/chrome/browser/omaha/omaha_service_provider.h"
#include "ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h"
#import "ios/public/provider/chrome/browser/test_updatable_resource_provider.h"
#import "ios/public/provider/chrome/browser/voice/test_voice_search_provider.h"
@@ -31,6 +32,7 @@ namespace ios {
TestChromeBrowserProvider::TestChromeBrowserProvider()
: app_distribution_provider_(
base::MakeUnique<TestAppDistributionProvider>()),
+ omaha_service_provider_(base::MakeUnique<OmahaServiceProvider>()),
updatable_resource_provider_(
base::MakeUnique<TestUpdatableResourceProvider>()),
voice_search_provider_(base::MakeUnique<TestVoiceSearchProvider>()) {}
@@ -79,4 +81,9 @@ AppDistributionProvider* TestChromeBrowserProvider::GetAppDistributionProvider()
return app_distribution_provider_.get();
}
+OmahaServiceProvider* TestChromeBrowserProvider::GetOmahaServiceProvider()
+ const {
+ return omaha_service_provider_.get();
+}
+
} // namespace ios
« no previous file with comments | « ios/public/provider/chrome/browser/test_chrome_browser_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698