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

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

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_zip_analyzer.h
diff --git a/chrome/browser/safe_browsing/sandboxed_zip_analyzer.h b/chrome/browser/safe_browsing/sandboxed_zip_analyzer.h
index 753f55d6d4ff46be120825ec98a74d6bdec906b0..0d476aa26d76c72422785e6bccd9a06c315fb47a 100644
--- a/chrome/browser/safe_browsing/sandboxed_zip_analyzer.h
+++ b/chrome/browser/safe_browsing/sandboxed_zip_analyzer.h
@@ -11,6 +11,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "chrome/common/safe_archive_analyzer.mojom.h"
+#include "chrome/common/safe_browsing/archive_analyzer_results.h"
#include "content/public/browser/utility_process_mojo_client.h"
namespace safe_browsing {
@@ -21,9 +22,7 @@ namespace safe_browsing {
class SandboxedZipAnalyzer
: public base::RefCountedThreadSafe<SandboxedZipAnalyzer> {
public:
- using Results = zip_analyzer::Results;
-
- using ResultCallback = base::Callback<void(const Results&)>;
+ using ResultCallback = base::Callback<void(const ArchiveAnalyzerResults&)>;
SandboxedZipAnalyzer(const base::FilePath& zip_file,
const ResultCallback& callback);
@@ -46,7 +45,7 @@ class SandboxedZipAnalyzer
void AnalyzeFile(base::File file, base::File temp);
// The response containing the file analyze results.
- void AnalyzeFileDone(const Results& results);
+ void AnalyzeFileDone(const ArchiveAnalyzerResults& results);
// The file path of the file to analyze.
const base::FilePath file_path_;

Powered by Google App Engine
This is Rietveld 408576698