| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_SERVICE_SERVICE_PROCESS_H_ | 5 #ifndef CHROME_SERVICE_SERVICE_PROCESS_H_ |
| 6 #define CHROME_SERVICE_SERVICE_PROCESS_H_ | 6 #define CHROME_SERVICE_SERVICE_PROCESS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 int enabled_services_; | 135 int enabled_services_; |
| 136 | 136 |
| 137 // Speficies whether a product update is available. | 137 // Speficies whether a product update is available. |
| 138 bool update_available_; | 138 bool update_available_; |
| 139 | 139 |
| 140 scoped_refptr<ServiceURLRequestContextGetter> request_context_getter_; | 140 scoped_refptr<ServiceURLRequestContextGetter> request_context_getter_; |
| 141 | 141 |
| 142 DISALLOW_COPY_AND_ASSIGN(ServiceProcess); | 142 DISALLOW_COPY_AND_ASSIGN(ServiceProcess); |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 // Disable refcounting for runnable method because it is really not needed | |
| 146 // when we post tasks on the main message loop. | |
| 147 DISABLE_RUNNABLE_METHOD_REFCOUNT(ServiceProcess); | |
| 148 | |
| 149 extern ServiceProcess* g_service_process; | 145 extern ServiceProcess* g_service_process; |
| 150 | 146 |
| 151 #endif // CHROME_SERVICE_SERVICE_PROCESS_H_ | 147 #endif // CHROME_SERVICE_SERVICE_PROCESS_H_ |
| OLD | NEW |