| OLD | NEW |
| 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 RapporService; |
| 50 } | 50 } |
| 51 | 51 |
| 52 namespace safe_browsing { | |
| 53 class SafeBrowsingService; | |
| 54 } | |
| 55 | |
| 56 namespace variations { | 52 namespace variations { |
| 57 class VariationsService; | 53 class VariationsService; |
| 58 } | 54 } |
| 59 | 55 |
| 60 class ApplicationContext; | 56 class ApplicationContext; |
| 61 class CRLSetFetcher; | 57 class CRLSetFetcher; |
| 62 class IOSChromeIOThread; | 58 class IOSChromeIOThread; |
| 63 class PrefService; | 59 class PrefService; |
| 64 | 60 |
| 65 // Gets the global application context. Cannot return null. | 61 // Gets the global application context. Cannot return null. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 129 |
| 134 protected: | 130 protected: |
| 135 // Sets the global ApplicationContext instance. | 131 // Sets the global ApplicationContext instance. |
| 136 static void SetApplicationContext(ApplicationContext* context); | 132 static void SetApplicationContext(ApplicationContext* context); |
| 137 | 133 |
| 138 private: | 134 private: |
| 139 DISALLOW_COPY_AND_ASSIGN(ApplicationContext); | 135 DISALLOW_COPY_AND_ASSIGN(ApplicationContext); |
| 140 }; | 136 }; |
| 141 | 137 |
| 142 #endif // IOS_CHROME_BROWSER_APPLICATION_CONTEXT_H_ | 138 #endif // IOS_CHROME_BROWSER_APPLICATION_CONTEXT_H_ |
| OLD | NEW |