gecko-dev/toolkit/components/downloads/nsDownloadManager.h
Paolo Amadini 93316227a7 Bug 1364050 - Part 3 - Remove obsolete code from the nsIDownloadManager implementation. r=mak
A missing dependency in "nsTypeAheadFind.h" is also fixed to allow the removal of the include files from "nsToolkitCompsModule.cpp".

MozReview-Commit-ID: EefZA9bEUW0

--HG--
extra : rebase_source : 8ddfaf72f2b89c6e906561710045ec677e46da79
2017-05-15 11:55:50 +01:00

40 lines
899 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef downloadmanager___h___
#define downloadmanager___h___
#include "nsIDownloadManager.h"
#include "nsIDownloadProgressListener.h"
#include "nsIFile.h"
#include "nsIStringBundle.h"
#include "nsISupportsPrimitives.h"
#include "nsString.h"
class nsDownloadManager final : public nsIDownloadManager
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOWNLOADMANAGER
nsresult Init();
static nsDownloadManager *GetSingleton();
nsDownloadManager()
{
}
protected:
virtual ~nsDownloadManager();
private:
nsCOMPtr<nsIStringBundle> mBundle;
static nsDownloadManager *gDownloadManagerService;
};
#endif