diff options
author | sdefresne <sdefresne@chromium.org> | 2015-10-07 03:52:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-07 10:53:40 +0000 |
commit | 267391c2e694607419c9dcc2cb15e5a4423e7ca7 (patch) | |
tree | 66f1e5d55ef7d080c69165d6b74be446aca12bbb /ios/chrome/test/testing_application_context.h | |
parent | ac7b2564c8ee6dc6d483991f47b984a6a3dd87a8 (diff) | |
download | chromium_src-267391c2e694607419c9dcc2cb15e5a4423e7ca7.zip chromium_src-267391c2e694607419c9dcc2cb15e5a4423e7ca7.tar.gz chromium_src-267391c2e694607419c9dcc2cb15e5a4423e7ca7.tar.bz2 |
Provides iOS implementation of some metrics services.
Add a method GetNetworkTimeTracker() to ApplicationContext, implement it
in ApplicationContextImpl and change BrowserProcess to delegate to this
method instead.
Provide an implementation of VariationsServiceClient on iOS now that all
necessary method are available via IOSChromeVariationsServiceClient.
Add support for generating UIStringOverrider on iOS based on the generated
grit headers for //components and //ios strings.
BUG=516659
Review URL: https://codereview.chromium.org/1392593002
Cr-Commit-Position: refs/heads/master@{#352813}
Diffstat (limited to 'ios/chrome/test/testing_application_context.h')
-rw-r--r-- | ios/chrome/test/testing_application_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ios/chrome/test/testing_application_context.h b/ios/chrome/test/testing_application_context.h index 37505f6..0c073c3 100644 --- a/ios/chrome/test/testing_application_context.h +++ b/ios/chrome/test/testing_application_context.h @@ -6,6 +6,7 @@ #define IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_ #include "base/macros.h" +#include "base/memory/scoped_ptr.h" #include "base/threading/thread_checker.h" #include "ios/chrome/browser/application_context.h" @@ -33,12 +34,14 @@ class TestingApplicationContext : public ApplicationContext { policy::BrowserPolicyConnector* GetBrowserPolicyConnector() override; rappor::RapporService* GetRapporService() override; net_log::ChromeNetLog* GetNetLog() override; + network_time::NetworkTimeTracker* GetNetworkTimeTracker() override; private: base::ThreadChecker thread_checker_; std::string application_locale_; PrefService* local_state_; ios::ChromeBrowserStateManager* chrome_browser_state_manager_; + scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_; DISALLOW_COPY_AND_ASSIGN(TestingApplicationContext); }; |