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

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

Issue 2286743004: Sends switches to the Software Reporter to enable matching data collection. (Closed)
Patch Set: Always clean state on test setup 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/safe_browsing/srt_fetcher_win.h
diff --git a/chrome/browser/safe_browsing/srt_fetcher_win.h b/chrome/browser/safe_browsing/srt_fetcher_win.h
index d1a8872065e341e299c68b63a7a290a21a97e675..bff21172f4012178473bbd8b59028647611c7b39 100644
--- a/chrome/browser/safe_browsing/srt_fetcher_win.h
+++ b/chrome/browser/safe_browsing/srt_fetcher_win.h
@@ -11,6 +11,7 @@
#include "base/callback_forward.h"
#include "base/command_line.h"
+#include "base/feature_list.h"
#include "base/memory/ref_counted.h"
#include "base/version.h"
@@ -40,6 +41,12 @@ const int kReporterFailureExitCode = INT_MAX;
// The number of days to wait before triggering another reporter run.
const int kDaysBetweenSuccessfulSwReporterRuns = 7;
const int kDaysBetweenSwReporterRunsForPendingPrompt = 1;
+// The number of days to wait before sending out reporter logs.
+const int kDaysBetweenReporterLogsSent = 7;
+
+extern const char kExtendedSafeBrowsingEnabledSwitch[];
+
+extern const base::Feature kSwReporterExtendedSafeBrowsingFeature;
// Parameters used to invoke the sw_reporter component.
struct SwReporterInvocation {
@@ -55,6 +62,7 @@ struct SwReporterInvocation {
bool is_experimental = false;
SwReporterInvocation();
+ SwReporterInvocation(const SwReporterInvocation& other);
static SwReporterInvocation FromFilePath(const base::FilePath& exe_path);
static SwReporterInvocation FromCommandLine(
« no previous file with comments | « chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc ('k') | chrome/browser/safe_browsing/srt_fetcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698