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

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: Rebase 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..338af1487c33c6de1806609f5b758cbfab1c9245 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,13 @@ 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[];
+
+const base::Feature kSwReporterExtendedSafeBrowsingFeature{
csharp 2016/09/02 21:16:25 I think you want this to be extern too
ftirelo 2016/09/06 16:37:43 Done.
+ "SwReporterExtendedSafeBrowsingFeature", base::FEATURE_DISABLED_BY_DEFAULT};
// Parameters used to invoke the sw_reporter component.
struct SwReporterInvocation {
@@ -55,6 +63,7 @@ struct SwReporterInvocation {
bool is_experimental = false;
SwReporterInvocation();
+ SwReporterInvocation(const SwReporterInvocation& other);
static SwReporterInvocation FromFilePath(const base::FilePath& exe_path);
static SwReporterInvocation FromCommandLine(

Powered by Google App Engine
This is Rietveld 408576698