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

Unified Diff: ios/chrome/test/testing_application_context.mm

Issue 1835823002: network_time_tracker: add temporary time protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lint Created 4 years, 7 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 | « ios/chrome/test/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/test/testing_application_context.mm
diff --git a/ios/chrome/test/testing_application_context.mm b/ios/chrome/test/testing_application_context.mm
index 0bf790e57221c1910459a876bbc9e6782098789e..50d3dd2cd3a9957d8e7d5a080c0b14957dff2181 100644
--- a/ios/chrome/test/testing_application_context.mm
+++ b/ios/chrome/test/testing_application_context.mm
@@ -10,6 +10,7 @@
#include "base/time/default_tick_clock.h"
#include "components/network_time/network_time_tracker.h"
#include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
+#include "net/url_request/url_request_context_getter.h"
TestingApplicationContext::TestingApplicationContext()
: application_locale_("en"),
@@ -127,7 +128,8 @@ TestingApplicationContext::GetNetworkTimeTracker() {
DCHECK(local_state_);
network_time_tracker_.reset(new network_time::NetworkTimeTracker(
base::WrapUnique(new base::DefaultClock),
- base::WrapUnique(new base::DefaultTickClock), local_state_));
+ base::WrapUnique(new base::DefaultTickClock), local_state_,
+ GetSystemURLRequestContext()));
}
return network_time_tracker_.get();
}
« no previous file with comments | « ios/chrome/test/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698