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

Side by Side Diff: ios/chrome/browser/application_context.h

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Fix more compile errors in JNI files Created 4 years 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
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_BROWSER_APPLICATION_CONTEXT_H_ 5 #ifndef IOS_CHROME_BROWSER_APPLICATION_CONTEXT_H_
6 #define IOS_CHROME_BROWSER_APPLICATION_CONTEXT_H_ 6 #define IOS_CHROME_BROWSER_APPLICATION_CONTEXT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 28 matching lines...) Expand all
39 39
40 namespace network_time { 40 namespace network_time {
41 class NetworkTimeTracker; 41 class NetworkTimeTracker;
42 } 42 }
43 43
44 namespace physical_web { 44 namespace physical_web {
45 class PhysicalWebDataSource; 45 class PhysicalWebDataSource;
46 } 46 }
47 47
48 namespace rappor { 48 namespace rappor {
49 class RapporService; 49 class RapporServiceImpl;
50 } 50 }
51 51
52 namespace variations { 52 namespace variations {
53 class VariationsService; 53 class VariationsService;
54 } 54 }
55 55
56 class ApplicationContext; 56 class ApplicationContext;
57 class CRLSetFetcher; 57 class CRLSetFetcher;
58 class IOSChromeIOThread; 58 class IOSChromeIOThread;
59 class PrefService; 59 class PrefService;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // if necessary. 95 // if necessary.
96 virtual metrics_services_manager::MetricsServicesManager* 96 virtual metrics_services_manager::MetricsServicesManager*
97 GetMetricsServicesManager() = 0; 97 GetMetricsServicesManager() = 0;
98 98
99 // Gets the MetricsService used by this application. 99 // Gets the MetricsService used by this application.
100 virtual metrics::MetricsService* GetMetricsService() = 0; 100 virtual metrics::MetricsService* GetMetricsService() = 0;
101 101
102 // Gets the VariationsService used by this application. 102 // Gets the VariationsService used by this application.
103 virtual variations::VariationsService* GetVariationsService() = 0; 103 virtual variations::VariationsService* GetVariationsService() = 0;
104 104
105 // Gets the RapporService. May return null. 105 // Gets the RapporServiceImpl. May return null.
106 virtual rappor::RapporService* GetRapporService() = 0; 106 virtual rappor::RapporServiceImpl* GetRapporServiceImpl() = 0;
107 107
108 // Gets the ChromeNetLog. 108 // Gets the ChromeNetLog.
109 virtual net_log::ChromeNetLog* GetNetLog() = 0; 109 virtual net_log::ChromeNetLog* GetNetLog() = 0;
110 110
111 // Gets the NetworkTimeTracker. 111 // Gets the NetworkTimeTracker.
112 virtual network_time::NetworkTimeTracker* GetNetworkTimeTracker() = 0; 112 virtual network_time::NetworkTimeTracker* GetNetworkTimeTracker() = 0;
113 113
114 // Gets the IOSChromeIOThread. 114 // Gets the IOSChromeIOThread.
115 virtual IOSChromeIOThread* GetIOSChromeIOThread() = 0; 115 virtual IOSChromeIOThread* GetIOSChromeIOThread() = 0;
116 116
(...skipping 12 matching lines...) Expand all
129 129
130 protected: 130 protected:
131 // Sets the global ApplicationContext instance. 131 // Sets the global ApplicationContext instance.
132 static void SetApplicationContext(ApplicationContext* context); 132 static void SetApplicationContext(ApplicationContext* context);
133 133
134 private: 134 private:
135 DISALLOW_COPY_AND_ASSIGN(ApplicationContext); 135 DISALLOW_COPY_AND_ASSIGN(ApplicationContext);
136 }; 136 };
137 137
138 #endif // IOS_CHROME_BROWSER_APPLICATION_CONTEXT_H_ 138 #endif // IOS_CHROME_BROWSER_APPLICATION_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698