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

Side by Side Diff: ios/chrome/test/testing_application_context.h

Issue 1456783004: Remove configuration policy on iOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up gyp and DEPS 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 unified diff | Download patch
« no previous file with comments | « ios/chrome/ios_chrome.gyp ('k') | ios/chrome/test/testing_application_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_ 5 #ifndef IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_
6 #define IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_ 6 #define IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/threading/thread_checker.h" 10 #include "base/threading/thread_checker.h"
(...skipping 20 matching lines...) Expand all
31 // ApplicationContext implementation. 31 // ApplicationContext implementation.
32 void OnAppEnterForeground() override; 32 void OnAppEnterForeground() override;
33 void OnAppEnterBackground() override; 33 void OnAppEnterBackground() override;
34 bool WasLastShutdownClean() override; 34 bool WasLastShutdownClean() override;
35 PrefService* GetLocalState() override; 35 PrefService* GetLocalState() override;
36 net::URLRequestContextGetter* GetSystemURLRequestContext() override; 36 net::URLRequestContextGetter* GetSystemURLRequestContext() override;
37 const std::string& GetApplicationLocale() override; 37 const std::string& GetApplicationLocale() override;
38 ios::ChromeBrowserStateManager* GetChromeBrowserStateManager() override; 38 ios::ChromeBrowserStateManager* GetChromeBrowserStateManager() override;
39 metrics::MetricsService* GetMetricsService() override; 39 metrics::MetricsService* GetMetricsService() override;
40 variations::VariationsService* GetVariationsService() override; 40 variations::VariationsService* GetVariationsService() override;
41 policy::BrowserPolicyConnector* GetBrowserPolicyConnector() override;
42 policy::PolicyService* GetPolicyService() override;
43 rappor::RapporService* GetRapporService() override; 41 rappor::RapporService* GetRapporService() override;
44 net_log::ChromeNetLog* GetNetLog() override; 42 net_log::ChromeNetLog* GetNetLog() override;
45 network_time::NetworkTimeTracker* GetNetworkTimeTracker() override; 43 network_time::NetworkTimeTracker* GetNetworkTimeTracker() override;
46 44
47 private: 45 private:
48 base::ThreadChecker thread_checker_; 46 base::ThreadChecker thread_checker_;
49 std::string application_locale_; 47 std::string application_locale_;
50 PrefService* local_state_; 48 PrefService* local_state_;
51 ios::ChromeBrowserStateManager* chrome_browser_state_manager_; 49 ios::ChromeBrowserStateManager* chrome_browser_state_manager_;
52 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_; 50 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_;
53 bool was_last_shutdown_clean_; 51 bool was_last_shutdown_clean_;
54 52
55 DISALLOW_COPY_AND_ASSIGN(TestingApplicationContext); 53 DISALLOW_COPY_AND_ASSIGN(TestingApplicationContext);
56 }; 54 };
57 55
58 #endif // IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_ 56 #endif // IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_
OLDNEW
« no previous file with comments | « ios/chrome/ios_chrome.gyp ('k') | ios/chrome/test/testing_application_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698