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

Unified Diff: chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.h

Issue 1885813002: Delete the utility process startup ping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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.h
diff --git a/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.h b/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.h
index 307776a36181eca5b8a35be47dc09cc4645c0419..19e5a2f3d69c5d5a012610e795994f3eab4638ce 100644
--- a/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.h
+++ b/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.h
@@ -48,9 +48,6 @@ class SandboxedDMGAnalyzer : public content::UtilityProcessHostClient {
void OnProcessLaunchFailed() override;
bool OnMessageReceived(const IPC::Message& message) override;
- // Message handler for reply ping when the utility process has started.
- void OnUtilityProcessStarted();
-
// Message handler to receive the results of the analysis. Invokes the
// |callback_|.
void OnAnalysisFinished(const zip_analyzer::Results& results);
@@ -58,9 +55,6 @@ class SandboxedDMGAnalyzer : public content::UtilityProcessHostClient {
const base::FilePath file_path_; // The path of the DMG file.
base::File file_; // The opened file handle for |file_path_|.
- // Weak reference to the utility process, which owns this.
- base::WeakPtr<content::UtilityProcessHost> utility_process_host_;
-
const ResultsCallback callback_; // Result callback.
bool callback_called_; // Whether |callback_| has already been invoked.
« no previous file with comments | « chrome/browser/printing/pwg_raster_converter.cc ('k') | chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698