| 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 CONTENT_PUBLIC_BROWSER_WORKER_SERVICE_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_WORKER_SERVICE_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_WORKER_SERVICE_H_ | 6 #define CONTENT_PUBLIC_BROWSER_WORKER_SERVICE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/process/process.h" | 10 #include "base/process/process.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 // Return information about all the currently running workers. | 40 // Return information about all the currently running workers. |
| 41 virtual std::vector<WorkerInfo> GetWorkers() = 0; | 41 virtual std::vector<WorkerInfo> GetWorkers() = 0; |
| 42 | 42 |
| 43 virtual void AddObserver(WorkerServiceObserver* observer) = 0; | 43 virtual void AddObserver(WorkerServiceObserver* observer) = 0; |
| 44 virtual void RemoveObserver(WorkerServiceObserver* observer) = 0; | 44 virtual void RemoveObserver(WorkerServiceObserver* observer) = 0; |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace content | 47 } // namespace content |
| 48 | 48 |
| 49 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ | 49 #endif // CONTENT_PUBLIC_BROWSER_WORKER_SERVICE_H_ |
| OLD | NEW |