Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4699)

Unified Diff: chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac_unittest.cc

Issue 2737763002: Convert utility process Safe Browsing ZIP/DMG Analyzer IPC to mojo (Closed)
Patch Set: Add //components/safe_browsing:csd_proto to typemap deps. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
}

Powered by Google App Engine
This is Rietveld 408576698