mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Bug 1142195 - Remove some unused class declarations in the DOM Cache code; r=bkelly
This commit is contained in:
parent
09a624cdf5
commit
3d44a57364
3
dom/cache/AutoUtils.h
vendored
3
dom/cache/AutoUtils.h
vendored
@ -25,9 +25,6 @@ class PBackgroundParent;
|
||||
namespace dom {
|
||||
|
||||
class InternalRequest;
|
||||
class OwningRequestOrUSVString;
|
||||
class RequestOrUSVString;
|
||||
template<typename T> class Optional;
|
||||
|
||||
namespace cache {
|
||||
|
||||
|
6
dom/cache/Cache.h
vendored
6
dom/cache/Cache.h
vendored
@ -21,10 +21,6 @@ namespace mozilla {
|
||||
|
||||
class ErrorResult;
|
||||
|
||||
namespace ipc {
|
||||
class IProtocol;
|
||||
}
|
||||
|
||||
namespace dom {
|
||||
|
||||
class OwningRequestOrUSVString;
|
||||
@ -39,10 +35,8 @@ namespace cache {
|
||||
|
||||
class CacheChild;
|
||||
class PCacheRequest;
|
||||
class PCacheRequestOrVoid;
|
||||
class PCacheResponse;
|
||||
class PCacheResponseOrVoid;
|
||||
class PCacheStreamControlChild;
|
||||
|
||||
class Cache MOZ_FINAL : public PromiseNativeHandler
|
||||
, public nsWrapperCache
|
||||
|
3
dom/cache/CacheParent.h
vendored
3
dom/cache/CacheParent.h
vendored
@ -19,10 +19,7 @@ namespace mozilla {
|
||||
namespace dom {
|
||||
namespace cache {
|
||||
|
||||
class CacheDBConnection;
|
||||
class CacheStreamControlParent;
|
||||
struct SavedResponse;
|
||||
struct StreamHolder;
|
||||
|
||||
class CacheParent MOZ_FINAL : public PCacheParent
|
||||
, public Manager::Listener
|
||||
|
2
dom/cache/CacheStorage.h
vendored
2
dom/cache/CacheStorage.h
vendored
@ -25,7 +25,6 @@ namespace mozilla {
|
||||
class ErrorResult;
|
||||
|
||||
namespace ipc {
|
||||
class IProtocol;
|
||||
class PrincipalInfo;
|
||||
}
|
||||
|
||||
@ -42,7 +41,6 @@ namespace cache {
|
||||
class CacheChild;
|
||||
class CacheStorageChild;
|
||||
class Feature;
|
||||
class PCacheRequest;
|
||||
class PCacheResponseOrVoid;
|
||||
|
||||
class CacheStorage MOZ_FINAL : public nsIIPCBackgroundChildCreateCallback
|
||||
|
1
dom/cache/Context.h
vendored
1
dom/cache/Context.h
vendored
@ -15,7 +15,6 @@
|
||||
#include "nsTArray.h"
|
||||
|
||||
class nsIEventTarget;
|
||||
class nsIFile;
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
|
1
dom/cache/DBSchema.h
vendored
1
dom/cache/DBSchema.h
vendored
@ -25,7 +25,6 @@ class PCacheQueryParams;
|
||||
class PCacheRequest;
|
||||
class PCacheRequestOrVoid;
|
||||
class PCacheResponse;
|
||||
class PCacheResponseOrVoid;
|
||||
struct SavedRequest;
|
||||
struct SavedResponse;
|
||||
|
||||
|
7
dom/cache/FetchPut.h
vendored
7
dom/cache/FetchPut.h
vendored
@ -22,17 +22,10 @@ class nsIRunnable;
|
||||
class nsIThread;
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
class ErrorResult;
|
||||
|
||||
namespace dom {
|
||||
|
||||
class OwningRequestOrScalarValueString;
|
||||
class Promise;
|
||||
class Request;
|
||||
class RequestOrScalarValueString;
|
||||
class Response;
|
||||
template<typename T> class Sequence;
|
||||
|
||||
namespace cache {
|
||||
|
||||
|
2
dom/cache/Manager.h
vendored
2
dom/cache/Manager.h
vendored
@ -16,7 +16,6 @@
|
||||
#include "nsTArray.h"
|
||||
|
||||
class nsIInputStream;
|
||||
class nsIOutputStream;
|
||||
class nsIThread;
|
||||
|
||||
namespace mozilla {
|
||||
@ -29,7 +28,6 @@ class ManagerId;
|
||||
class PCacheQueryParams;
|
||||
class PCacheRequest;
|
||||
class PCacheRequestOrVoid;
|
||||
class PCacheResponse;
|
||||
struct SavedRequest;
|
||||
struct SavedResponse;
|
||||
class StreamList;
|
||||
|
5
dom/cache/SavedTypes.h
vendored
5
dom/cache/SavedTypes.h
vendored
@ -20,11 +20,6 @@ namespace mozilla {
|
||||
namespace dom {
|
||||
namespace cache {
|
||||
|
||||
struct StreamHolder
|
||||
{
|
||||
nsCOMPtr<nsIOutputStream> mValue;
|
||||
};
|
||||
|
||||
struct SavedRequest
|
||||
{
|
||||
SavedRequest() : mHasBodyId(false) { mValue.body() = void_t(); }
|
||||
|
4
dom/cache/TypeUtils.h
vendored
4
dom/cache/TypeUtils.h
vendored
@ -25,17 +25,13 @@ class OwningRequestOrUSVString;
|
||||
class Request;
|
||||
class RequestOrUSVString;
|
||||
class Response;
|
||||
template<typename T> class Optional;
|
||||
|
||||
namespace cache {
|
||||
|
||||
class PCacheQueryParams;
|
||||
class PCacheReadStream;
|
||||
class PCacheReadStreamOrVoid;
|
||||
class PCacheRequest;
|
||||
class PCacheRequestOrVoid;
|
||||
class PCacheResponse;
|
||||
class PCacheStreamControlChild;
|
||||
|
||||
class TypeUtils
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user