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

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

Issue 1380763003: [iOS] Integration of ChromeNetLog and NetExportUI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup whitelist Created 5 years, 2 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 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/threading/thread_checker.h" 9 #include "base/threading/thread_checker.h"
10 #include "ios/chrome/browser/application_context.h" 10 #include "ios/chrome/browser/application_context.h"
(...skipping 14 matching lines...) Expand all
25 void SetChromeBrowserStateManager(ios::ChromeBrowserStateManager* manager); 25 void SetChromeBrowserStateManager(ios::ChromeBrowserStateManager* manager);
26 26
27 // ApplicationContext implementation. 27 // ApplicationContext implementation.
28 PrefService* GetLocalState() override; 28 PrefService* GetLocalState() override;
29 net::URLRequestContextGetter* GetSystemURLRequestContext() override; 29 net::URLRequestContextGetter* GetSystemURLRequestContext() override;
30 const std::string& GetApplicationLocale() override; 30 const std::string& GetApplicationLocale() override;
31 ios::ChromeBrowserStateManager* GetChromeBrowserStateManager() override; 31 ios::ChromeBrowserStateManager* GetChromeBrowserStateManager() override;
32 metrics::MetricsService* GetMetricsService() override; 32 metrics::MetricsService* GetMetricsService() override;
33 policy::BrowserPolicyConnector* GetBrowserPolicyConnector() override; 33 policy::BrowserPolicyConnector* GetBrowserPolicyConnector() override;
34 rappor::RapporService* GetRapporService() override; 34 rappor::RapporService* GetRapporService() override;
35 net_log::ChromeNetLog* GetNetLog() override;
35 36
36 private: 37 private:
37 base::ThreadChecker thread_checker_; 38 base::ThreadChecker thread_checker_;
38 std::string application_locale_; 39 std::string application_locale_;
39 PrefService* local_state_; 40 PrefService* local_state_;
40 ios::ChromeBrowserStateManager* chrome_browser_state_manager_; 41 ios::ChromeBrowserStateManager* chrome_browser_state_manager_;
41 42
42 DISALLOW_COPY_AND_ASSIGN(TestingApplicationContext); 43 DISALLOW_COPY_AND_ASSIGN(TestingApplicationContext);
43 }; 44 };
44 45
45 #endif // IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_ 46 #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