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

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

Issue 2900803002: Renaming zip_analyzer_results to archive_analyzer_results (Closed)
Patch Set: minor fixups Created 3 years, 7 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.cc
diff --git a/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc b/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc
index 8a8449517a9dc9b5d63dcbdfb3a15517643d08ae..dbfc4dcf30d28177e920f95aefbf03fc699be4d1 100644
--- a/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc
+++ b/chrome/browser/safe_browsing/sandboxed_dmg_analyzer_mac.cc
@@ -8,7 +8,7 @@
#include "base/bind.h"
#include "base/task_scheduler/post_task.h"
-#include "chrome/common/safe_browsing/zip_analyzer_results.h"
+#include "chrome/common/safe_browsing/archive_analyzer_results.h"
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/browser_thread.h"
#include "ui/base/l10n/l10n_util.h"
@@ -51,8 +51,9 @@ void SandboxedDMGAnalyzer::PrepareFileToAnalyze() {
void SandboxedDMGAnalyzer::ReportFileFailure() {
DCHECK(!utility_process_mojo_client_);
- content::BrowserThread::PostTask(content::BrowserThread::UI, FROM_HERE,
- base::Bind(callback_, Results()));
+ content::BrowserThread::PostTask(
+ content::BrowserThread::UI, FROM_HERE,
+ base::Bind(callback_, ArchiveAnalyzerResults()));
}
void SandboxedDMGAnalyzer::AnalyzeFile(base::File file) {
@@ -63,8 +64,8 @@ void SandboxedDMGAnalyzer::AnalyzeFile(base::File file) {
content::UtilityProcessMojoClient<chrome::mojom::SafeArchiveAnalyzer>>(
l10n_util::GetStringUTF16(
IDS_UTILITY_PROCESS_SAFE_BROWSING_ZIP_FILE_ANALYZER_NAME));
- utility_process_mojo_client_->set_error_callback(
- base::Bind(&SandboxedDMGAnalyzer::AnalyzeFileDone, this, Results()));
+ utility_process_mojo_client_->set_error_callback(base::Bind(
+ &SandboxedDMGAnalyzer::AnalyzeFileDone, this, ArchiveAnalyzerResults()));
utility_process_mojo_client_->Start();
@@ -73,7 +74,8 @@ void SandboxedDMGAnalyzer::AnalyzeFile(base::File file) {
base::Bind(&SandboxedDMGAnalyzer::AnalyzeFileDone, this));
}
-void SandboxedDMGAnalyzer::AnalyzeFileDone(const Results& results) {
+void SandboxedDMGAnalyzer::AnalyzeFileDone(
+ const ArchiveAnalyzerResults& results) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
utility_process_mojo_client_.reset();

Powered by Google App Engine
This is Rietveld 408576698