Bug 1065258 (part 8) - Rename TempDirMemoryFinishCallback. r=jld.

--HG--
extra : rebase_source : c478218da5d45e091156aa4dc9d64514f71d403d
This commit is contained in:
Nicholas Nethercote 2014-09-10 00:41:50 -07:00
parent 0583d3129e
commit 3c2c84cee0

View File

@ -623,13 +623,13 @@ private:
NS_IMPL_ISUPPORTS(FinishReportingCallback, nsIFinishReportingCallback)
class TempDirMemoryFinishCallback MOZ_FINAL : public nsIFinishDumpingCallback
class TempDirFinishCallback MOZ_FINAL : public nsIFinishDumpingCallback
{
public:
NS_DECL_ISUPPORTS
TempDirMemoryFinishCallback(nsIFile* aReportsTmpFile,
const nsCString& aReportsFinalFilename)
TempDirFinishCallback(nsIFile* aReportsTmpFile,
const nsCString& aReportsFinalFilename)
: mReportsTmpFile(aReportsTmpFile)
, mReportsFilename(aReportsFinalFilename)
{
@ -696,13 +696,13 @@ public:
}
private:
~TempDirMemoryFinishCallback() {}
~TempDirFinishCallback() {}
nsCOMPtr<nsIFile> mReportsTmpFile;
nsCString mReportsFilename;
};
NS_IMPL_ISUPPORTS(TempDirMemoryFinishCallback, nsIFinishDumpingCallback)
NS_IMPL_ISUPPORTS(TempDirFinishCallback, nsIFinishDumpingCallback)
static nsresult
DumpMemoryInfoToFile(
@ -823,8 +823,8 @@ nsMemoryInfoDumper::DumpMemoryInfoToTempDir(const nsAString& aIdentifier,
return rv;
}
nsRefPtr<TempDirMemoryFinishCallback> finishDumping =
new TempDirMemoryFinishCallback(reportsTmpFile, reportsFinalFilename);
nsRefPtr<TempDirFinishCallback> finishDumping =
new TempDirFinishCallback(reportsTmpFile, reportsFinalFilename);
return DumpMemoryInfoToFile(reportsTmpFile, finishDumping, nullptr,
aAnonymize, aMinimizeMemoryUsage, identifier);