mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Bug 1432963 - Fixing workers headers - part 9 - WorkerLoadInfo without workers namespace, r=smaug
This commit is contained in:
parent
528066218f
commit
8df05ffda6
@ -22,14 +22,13 @@ class nsPIDOMWindowInner;
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
class SharedWorker;
|
||||
struct WorkerLoadInfo;
|
||||
class WorkerThread;
|
||||
}
|
||||
}
|
||||
|
||||
BEGIN_WORKERS_NAMESPACE
|
||||
|
||||
struct WorkerLoadInfo;
|
||||
|
||||
class RuntimeService final : public nsIObserver
|
||||
{
|
||||
struct SharedWorkerInfo
|
||||
|
@ -21,12 +21,15 @@ namespace mozilla {
|
||||
|
||||
class ErrorResult;
|
||||
|
||||
namespace dom {
|
||||
|
||||
struct WorkerLoadInfo;
|
||||
|
||||
} // dom namespace
|
||||
} // namespace mozilla
|
||||
|
||||
BEGIN_WORKERS_NAMESPACE
|
||||
|
||||
struct WorkerLoadInfo;
|
||||
|
||||
enum WorkerScriptType {
|
||||
WorkerScript,
|
||||
DebuggerScript
|
||||
|
@ -23,7 +23,8 @@ namespace mozilla {
|
||||
using namespace ipc;
|
||||
|
||||
namespace dom {
|
||||
namespace workers {
|
||||
|
||||
using namespace workers;
|
||||
|
||||
namespace {
|
||||
|
||||
@ -542,6 +543,5 @@ NS_IMPL_RELEASE(WorkerLoadInfo::InterfaceRequestor)
|
||||
NS_IMPL_QUERY_INTERFACE(WorkerLoadInfo::InterfaceRequestor,
|
||||
nsIInterfaceRequestor)
|
||||
|
||||
} // worker namespace
|
||||
} // dom namespace
|
||||
} // mozilla namespace
|
||||
|
@ -27,12 +27,16 @@ class nsIURI;
|
||||
class nsPIDOMWindowInner;
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
namespace ipc {
|
||||
class PrincipalInfo;
|
||||
} // namespace ipc
|
||||
} // namespace mozilla
|
||||
|
||||
BEGIN_WORKERS_NAMESPACE
|
||||
namespace dom {
|
||||
|
||||
namespace workers {
|
||||
class WorkerPrivate;
|
||||
}
|
||||
|
||||
struct WorkerLoadInfo
|
||||
{
|
||||
@ -136,13 +140,14 @@ struct WorkerLoadInfo
|
||||
#endif
|
||||
|
||||
bool
|
||||
ProxyReleaseMainThreadObjects(WorkerPrivate* aWorkerPrivate);
|
||||
ProxyReleaseMainThreadObjects(workers::WorkerPrivate* aWorkerPrivate);
|
||||
|
||||
bool
|
||||
ProxyReleaseMainThreadObjects(WorkerPrivate* aWorkerPrivate,
|
||||
ProxyReleaseMainThreadObjects(workers::WorkerPrivate* aWorkerPrivate,
|
||||
nsCOMPtr<nsILoadGroup>& aLoadGroupToCancel);
|
||||
};
|
||||
|
||||
END_WORKERS_NAMESPACE
|
||||
} // dom namespace
|
||||
} // mozilla namespace
|
||||
|
||||
#endif // mozilla_dom_workers_WorkerLoadInfo_h
|
||||
|
Loading…
Reference in New Issue
Block a user