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

Unified Diff: chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc

Issue 2347753002: Adds histograms for tracking Software Reporter logs uploads in SRT Fetcher. (Closed)
Patch Set: Define constant 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_browsertest_win.cc
diff --git a/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc b/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc
index 943de73f4d9ce51fbe2b00f5b5ae3ad7c57d16af..a3bbc3cf53e53cbd9c66e6887340bcdc049ea02d 100644
--- a/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc
+++ b/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc
@@ -54,10 +54,11 @@ class SRTFetcherTest : public InProcessBrowserTest,
void RunReporter(const base::FilePath& exe_path = base::FilePath()) {
auto invocation = SwReporterInvocation::FromFilePath(exe_path);
- invocation.flags = SwReporterInvocation::FLAG_LOG_TO_RAPPOR |
- SwReporterInvocation::FLAG_LOG_EXIT_CODE_TO_PREFS |
- SwReporterInvocation::FLAG_TRIGGER_PROMPT |
- SwReporterInvocation::FLAG_SEND_REPORTER_LOGS;
+ invocation.supported_behaviours =
+ SwReporterInvocation::BEHAVIOUR_LOG_TO_RAPPOR |
+ SwReporterInvocation::BEHAVIOUR_LOG_EXIT_CODE_TO_PREFS |
+ SwReporterInvocation::BEHAVIOUR_TRIGGER_PROMPT |
+ SwReporterInvocation::BEHAVIOUR_ALLOW_SEND_REPORTER_LOGS;
SwReporterQueue invocations;
invocations.push(invocation);
« no previous file with comments | « chrome/browser/component_updater/sw_reporter_installer_win_unittest.cc ('k') | chrome/browser/safe_browsing/srt_fetcher_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698