OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ | 5 #ifndef CHROME_BROWSER_SERVICE_PROCESS_SERVICE_PROCESS_CONTROL_H_ |
6 #define CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ | 6 #define CHROME_BROWSER_SERVICE_PROCESS_SERVICE_PROCESS_CONTROL_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/cancelable_callback.h" | 15 #include "base/cancelable_callback.h" |
16 #include "base/id_map.h" | 16 #include "base/id_map.h" |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 // Callback that gets invoked when a message with histograms is received from | 209 // Callback that gets invoked when a message with histograms is received from |
210 // the service process. | 210 // the service process. |
211 base::Closure histograms_callback_; | 211 base::Closure histograms_callback_; |
212 | 212 |
213 content::NotificationRegistrar registrar_; | 213 content::NotificationRegistrar registrar_; |
214 | 214 |
215 // Callback that gets invoked if service didn't reply in time. | 215 // Callback that gets invoked if service didn't reply in time. |
216 base::CancelableClosure histograms_timeout_callback_; | 216 base::CancelableClosure histograms_timeout_callback_; |
217 }; | 217 }; |
218 | 218 |
219 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ | 219 #endif // CHROME_BROWSER_SERVICE_PROCESS_SERVICE_PROCESS_CONTROL_H_ |
OLD | NEW |