Bug 783047 - Remove MAC support from SafeBrowsing code. r=mmc,dcamp

This commit is contained in:
Gian-Carlo Pascutto
2014-01-16 09:27:58 +01:00
parent 86845f42da
commit 84b97b9f8e
20 changed files with 70 additions and 1009 deletions

View File

@@ -55,13 +55,11 @@ private:
// Fetches an update for a single table.
nsresult FetchUpdate(nsIURI *aURI,
const nsACString &aRequestBody,
const nsACString &aTable,
const nsACString &aServerMAC);
const nsACString &aTable);
// Dumb wrapper so we don't have to create URIs.
nsresult FetchUpdate(const nsACString &aURI,
const nsACString &aRequestBody,
const nsACString &aTable,
const nsACString &aServerMAC);
const nsACString &aTable);
// Fetches the next table, from mPendingUpdates.
nsresult FetchNext();
@@ -72,7 +70,6 @@ private:
bool mBeganStream;
nsCOMPtr<nsIURI> mUpdateUrl;
nsCString mStreamTable;
nsCString mServerMAC;
nsCOMPtr<nsIChannel> mChannel;
nsCOMPtr<nsIUrlClassifierDBService> mDBService;
nsCOMPtr<nsITimer> mTimer;
@@ -80,7 +77,6 @@ private:
struct PendingUpdate {
nsCString mUrl;
nsCString mTable;
nsCString mServerMAC;
};
nsTArray<PendingUpdate> mPendingUpdates;