| Index: chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac_unittest.cc b/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac_unittest.cc
|
| index 2d1689ff1e13cb30ff7f0d2b2ec1f9f689922d25..561fd2369bea03f7656803d4e7e1bf1159d3071d 100644
|
| --- a/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac_unittest.cc
|
| @@ -47,15 +47,15 @@ class SandboxedDMGAnalyzerTest : public testing::Test {
|
| }
|
|
|
| private:
|
| - // A helper class to store the results from the ResultsCallback and run
|
| - // another closure.
|
| + // A helper that provides a SandboxedDMGAnalyzer::ResultCallback that will
|
| + // store a copy of an analyzer's results and then run a closure.
|
| class ResultsGetter {
|
| public:
|
| ResultsGetter(const base::Closure& next_closure,
|
| zip_analyzer::Results* results)
|
| : next_closure_(next_closure), results_(results) {}
|
|
|
| - SandboxedDMGAnalyzer::ResultsCallback GetCallback() {
|
| + SandboxedDMGAnalyzer::ResultCallback GetCallback() {
|
| return base::Bind(&ResultsGetter::ResultsCallback,
|
| base::Unretained(this));
|
| }
|
|
|