Chromium Code Reviews| 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( |