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_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_ |
6 #define CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_ | 6 #define CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 class Profile; | 10 class Profile; |
(...skipping 14 matching lines...) Expand all Loading... |
25 // | 25 // |
26 // There will be at most one ServiceProcess for a |profile|. | 26 // There will be at most one ServiceProcess for a |profile|. |
27 // | 27 // |
28 // This method should only be accessed on the UI thread. | 28 // This method should only be accessed on the UI thread. |
29 ServiceProcessControl* GetProcessControl(Profile* profile); | 29 ServiceProcessControl* GetProcessControl(Profile* profile); |
30 | 30 |
31 // Destroy all ServiceProcess objects created. | 31 // Destroy all ServiceProcess objects created. |
32 void Shutdown(); | 32 void Shutdown(); |
33 | 33 |
34 // Return the instance of ServiceProcessControlManager. | 34 // Return the instance of ServiceProcessControlManager. |
35 static ServiceProcessControlManager* instance(); | 35 static ServiceProcessControlManager* GetInstance(); |
36 | 36 |
37 private: | 37 private: |
38 ServiceProcessControlList process_control_list_; | 38 ServiceProcessControlList process_control_list_; |
39 }; | 39 }; |
40 | 40 |
41 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_ | 41 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_MANAGER_H_ |
OLD | NEW |