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 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 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/process.h" | 10 #include "base/process.h" |
12 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
13 | 12 |
14 class GURL; | 13 class GURL; |
15 | 14 |
16 namespace content { | 15 namespace content { |
17 | 16 |
(...skipping 24 matching lines...) Expand all Loading... |
42 // Return information about all the currently running workers. | 41 // Return information about all the currently running workers. |
43 virtual std::vector<WorkerInfo> GetWorkers() = 0; | 42 virtual std::vector<WorkerInfo> GetWorkers() = 0; |
44 | 43 |
45 virtual void AddObserver(WorkerServiceObserver* observer) = 0; | 44 virtual void AddObserver(WorkerServiceObserver* observer) = 0; |
46 virtual void RemoveObserver(WorkerServiceObserver* observer) = 0; | 45 virtual void RemoveObserver(WorkerServiceObserver* observer) = 0; |
47 }; | 46 }; |
48 | 47 |
49 } // namespace content | 48 } // namespace content |
50 | 49 |
51 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ | 50 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ |
OLD | NEW |