зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1001691 - Move WorkerType out of WorkerPrivate.h r=khuey
This commit is contained in:
Родитель
2665cbe4f7
Коммит
75a685187a
|
@ -8,7 +8,6 @@
|
|||
#define mozilla_dom_workers_runtimeservice_h__
|
||||
|
||||
#include "Workers.h"
|
||||
#include "WorkerPrivate.h" // For the WorkerType enum.
|
||||
|
||||
#include "nsIObserver.h"
|
||||
|
||||
|
@ -16,7 +15,6 @@
|
|||
#include "nsClassHashtable.h"
|
||||
#include "nsHashKeys.h"
|
||||
#include "nsTArray.h"
|
||||
#include "WorkerPrivate.h"
|
||||
|
||||
class nsIRunnable;
|
||||
class nsITimer;
|
||||
|
|
|
@ -69,15 +69,6 @@ class WorkerPrivate;
|
|||
class WorkerRunnable;
|
||||
class WorkerThread;
|
||||
|
||||
// If you change this, the corresponding list in nsIWorkerDebugger.idl needs to
|
||||
// be updated too.
|
||||
enum WorkerType
|
||||
{
|
||||
WorkerTypeDedicated,
|
||||
WorkerTypeShared,
|
||||
WorkerTypeService
|
||||
};
|
||||
|
||||
// SharedMutex is a small wrapper around an (internal) reference-counted Mutex
|
||||
// object. It exists to avoid changing a lot of code to use Mutex* instead of
|
||||
// Mutex&.
|
||||
|
|
|
@ -43,6 +43,17 @@ namespace mozilla {
|
|||
namespace ipc {
|
||||
class PrincipalInfo;
|
||||
}
|
||||
|
||||
namespace dom {
|
||||
// If you change this, the corresponding list in nsIWorkerDebugger.idl needs to
|
||||
// be updated too.
|
||||
enum WorkerType
|
||||
{
|
||||
WorkerTypeDedicated,
|
||||
WorkerTypeShared,
|
||||
WorkerTypeService
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
BEGIN_WORKERS_NAMESPACE
|
||||
|
|
Загрузка…
Ссылка в новой задаче