OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 | 135 |
136 scoped_refptr<ServiceURLRequestContextGetter> request_context_getter_; | 136 scoped_refptr<ServiceURLRequestContextGetter> request_context_getter_; |
137 | 137 |
138 #if defined(ENABLE_REMOTING) | 138 #if defined(ENABLE_REMOTING) |
139 scoped_refptr<remoting::ChromotingHostManager> remoting_host_manager_; | 139 scoped_refptr<remoting::ChromotingHostManager> remoting_host_manager_; |
140 #endif | 140 #endif |
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 |
145 extern ServiceProcess* g_service_process; | 149 extern ServiceProcess* g_service_process; |
146 | 150 |
147 #endif // CHROME_SERVICE_SERVICE_PROCESS_H_ | 151 #endif // CHROME_SERVICE_SERVICE_PROCESS_H_ |
OLD | NEW |