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

Side by Side Diff: ios/chrome/browser/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/browser/DEPS ('k') | ios/chrome/browser/application_context_impl.h » ('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_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"
11 11
12 namespace ios { 12 namespace ios {
13 class ChromeBrowserStateManager; 13 class ChromeBrowserStateManager;
14 } 14 }
15 15
16 namespace metrics { 16 namespace metrics {
17 class MetricsService; 17 class MetricsService;
18 } 18 }
19 19
20 namespace net { 20 namespace net {
21 class URLRequestContextGetter; 21 class URLRequestContextGetter;
22 } 22 }
23 23
24 namespace net_log {
25 class ChromeNetLog;
26 }
27
24 namespace policy { 28 namespace policy {
25 class BrowserPolicyConnector; 29 class BrowserPolicyConnector;
26 } 30 }
27 31
28 namespace rappor { 32 namespace rappor {
29 class RapporService; 33 class RapporService;
30 } 34 }
31 35
32 class ApplicationContext; 36 class ApplicationContext;
33 class PrefService; 37 class PrefService;
(...skipping 17 matching lines...) Expand all
51 55
52 // Gets the ChromeBrowserStateManager used by this application. 56 // Gets the ChromeBrowserStateManager used by this application.
53 virtual ios::ChromeBrowserStateManager* GetChromeBrowserStateManager() = 0; 57 virtual ios::ChromeBrowserStateManager* GetChromeBrowserStateManager() = 0;
54 58
55 // Gets the MetricsService used by this application. 59 // Gets the MetricsService used by this application.
56 virtual metrics::MetricsService* GetMetricsService() = 0; 60 virtual metrics::MetricsService* GetMetricsService() = 0;
57 61
58 // Gets the policy connector, creating and starting it if necessary. 62 // Gets the policy connector, creating and starting it if necessary.
59 virtual policy::BrowserPolicyConnector* GetBrowserPolicyConnector() = 0; 63 virtual policy::BrowserPolicyConnector* GetBrowserPolicyConnector() = 0;
60 64
61 // Gets the RapporService. May returns null. 65 // Gets the RapporService. May return null.
62 virtual rappor::RapporService* GetRapporService() = 0; 66 virtual rappor::RapporService* GetRapporService() = 0;
63 67
68 // Gets the ChromeNetLog.
69 virtual net_log::ChromeNetLog* GetNetLog() = 0;
70
64 protected: 71 protected:
65 // Sets the global ApplicationContext instance. 72 // Sets the global ApplicationContext instance.
66 static void SetApplicationContext(ApplicationContext* context); 73 static void SetApplicationContext(ApplicationContext* context);
67 74
68 private: 75 private:
69 DISALLOW_COPY_AND_ASSIGN(ApplicationContext); 76 DISALLOW_COPY_AND_ASSIGN(ApplicationContext);
70 }; 77 };
71 78
72 #endif // IOS_CHROME_BROWSER_APPLICATION_CONTEXT_H_ 79 #endif // IOS_CHROME_BROWSER_APPLICATION_CONTEXT_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/DEPS ('k') | ios/chrome/browser/application_context_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698