Bug 1142195 - Remove some unused class declarations in the DOM Cache code; r=bkelly

This commit is contained in:
Ehsan Akhgari 2015-03-11 14:56:57 -04:00
parent 09a624cdf5
commit 3d44a57364
10 changed files with 0 additions and 34 deletions

View File

@ -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
View File

@ -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

View File

@ -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

View File

@ -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
View File

@ -15,7 +15,6 @@
#include "nsTArray.h"
class nsIEventTarget;
class nsIFile;
namespace mozilla {
namespace dom {

View File

@ -25,7 +25,6 @@ class PCacheQueryParams;
class PCacheRequest;
class PCacheRequestOrVoid;
class PCacheResponse;
class PCacheResponseOrVoid;
struct SavedRequest;
struct SavedResponse;

View File

@ -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
View File

@ -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;

View File

@ -20,11 +20,6 @@ namespace mozilla {
namespace dom {
namespace cache {
struct StreamHolder
{
nsCOMPtr<nsIOutputStream> mValue;
};
struct SavedRequest
{
SavedRequest() : mHasBodyId(false) { mValue.body() = void_t(); }

View File

@ -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
{