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

Unified Diff: ios/public/test/test_chrome_browser_provider.mm

Issue 1471783002: Provider API for UpdatableConfig (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove duplicate implementation of GetUpdatableResourceProvider() method Created 5 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/test/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/test/test_chrome_browser_provider.mm
diff --git a/ios/public/test/test_chrome_browser_provider.mm b/ios/public/test/test_chrome_browser_provider.mm
index 6d818d3f31f33d91d05d3b4a396a38a42e860537..522f8dd74c0bd5b7eb69cf2791dca5e401f64655 100644
--- a/ios/public/test/test_chrome_browser_provider.mm
+++ b/ios/public/test/test_chrome_browser_provider.mm
@@ -7,12 +7,14 @@
#include "base/logging.h"
#include "ios/public/provider/chrome/browser/signin/chrome_identity_service.h"
#include "ios/public/test/fake_string_provider.h"
+#import "ios/public/test/test_updatable_resource_provider.h"
namespace ios {
TestChromeBrowserProvider::TestChromeBrowserProvider()
: chrome_identity_service_(new ios::ChromeIdentityService),
- string_provider_(new FakeStringProvider) {}
+ string_provider_(new FakeStringProvider),
+ test_updatable_resource_provider_(new TestUpdatableResourceProvider) {}
TestChromeBrowserProvider::~TestChromeBrowserProvider() {
}
@@ -32,6 +34,11 @@ StringProvider* TestChromeBrowserProvider::GetStringProvider() {
return string_provider_.get();
}
+UpdatableResourceProvider*
+TestChromeBrowserProvider::GetUpdatableResourceProvider() {
+ return test_updatable_resource_provider_.get();
+}
+
FakeStringProvider*
TestChromeBrowserProvider::GetStringProviderAsFake() {
return string_provider_.get();
« no previous file with comments | « ios/public/test/test_chrome_browser_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698