Backed out changeset a6e627eff6a6 (bug 1001691)

This commit is contained in:
Tim Taubert 2015-03-03 19:13:21 +01:00
Родитель 30c1cb6a48
Коммит d100a5d70f
3 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -8,6 +8,7 @@
#define mozilla_dom_workers_runtimeservice_h__
#include "Workers.h"
#include "WorkerPrivate.h" // For the WorkerType enum.
#include "nsIObserver.h"
@ -15,6 +16,7 @@
#include "nsClassHashtable.h"
#include "nsHashKeys.h"
#include "nsTArray.h"
#include "WorkerPrivate.h"
class nsIRunnable;
class nsITimer;

Просмотреть файл

@ -68,6 +68,15 @@ 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&.

Просмотреть файл

@ -42,17 +42,6 @@ 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