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

Unified Diff: chrome/browser/component_updater/sw_reporter_installer_win.h

Issue 2226133005: Add support for the ExperimentalSwReporterEngine field trial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unrelated patch I accidentally committed Created 4 years, 3 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/component_updater/sw_reporter_installer_win.h
diff --git a/chrome/browser/component_updater/sw_reporter_installer_win.h b/chrome/browser/component_updater/sw_reporter_installer_win.h
index d5be44907f366e191f8a68c91a2233c9bb8f3e51..90639c435672bc0a4a83ab0fead0685c8771bf6c 100644
--- a/chrome/browser/component_updater/sw_reporter_installer_win.h
+++ b/chrome/browser/component_updater/sw_reporter_installer_win.h
@@ -12,6 +12,7 @@
#include "base/callback.h"
#include "base/macros.h"
+#include "chrome/browser/safe_browsing/srt_fetcher_win.h"
#include "components/component_updater/default_component_installer.h"
class PrefRegistrySimple;
@@ -23,10 +24,6 @@ class FilePath;
class Version;
}
-namespace safe_browsing {
-struct SwReporterInvocation;
-}
-
namespace user_prefs {
class PrefRegistrySyncable;
}
@@ -44,9 +41,9 @@ enum SwReporterExperimentError {
};
// Callback for running the software reporter after it is downloaded.
-using SwReporterRunner =
- base::Callback<void(const safe_browsing::SwReporterInvocation& invocation,
- const base::Version& version)>;
+using SwReporterRunner = base::Callback<void(
+ std::unique_ptr<safe_browsing::SwReporterQueue> invocations,
+ const base::Version& version)>;
class SwReporterInstallerTraits : public ComponentInstallerTraits {
public:

Powered by Google App Engine
This is Rietveld 408576698