Index: ios/chrome/browser/application_context.h |
diff --git a/ios/chrome/browser/application_context.h b/ios/chrome/browser/application_context.h |
index b7762fa700a0292e0e9f6438e3e28659f7f870a8..db856c62423f319b8d3a6ff75cdebe7dd518fbe9 100644 |
--- a/ios/chrome/browser/application_context.h |
+++ b/ios/chrome/browser/application_context.h |
@@ -21,6 +21,10 @@ namespace net { |
class URLRequestContextGetter; |
} |
+namespace net_log { |
+class ChromeNetLog; |
+} |
+ |
namespace policy { |
class BrowserPolicyConnector; |
} |
@@ -58,9 +62,12 @@ class ApplicationContext { |
// Gets the policy connector, creating and starting it if necessary. |
virtual policy::BrowserPolicyConnector* GetBrowserPolicyConnector() = 0; |
- // Gets the RapporService. May returns null. |
+ // Gets the RapporService. May return null. |
virtual rappor::RapporService* GetRapporService() = 0; |
+ // Gets the ChromeNetLog. |
+ virtual net_log::ChromeNetLog* GetNetLog() = 0; |
+ |
protected: |
// Sets the global ApplicationContext instance. |
static void SetApplicationContext(ApplicationContext* context); |