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

Unified Diff: chrome/browser/safe_browsing/srt_client_info_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_client_info_win.h
diff --git a/chrome/browser/safe_browsing/srt_client_info_win.h b/chrome/browser/safe_browsing/srt_client_info_win.h
new file mode 100644
index 0000000000000000000000000000000000000000..65e7216fd2f16e3a67cc0a3b4bdbeb08f4802ead
--- /dev/null
+++ b/chrome/browser/safe_browsing/srt_client_info_win.h
@@ -0,0 +1,20 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_
+#define CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_
+
+namespace safe_browsing {
+
+extern const char kChromeVersionSwitch[];
+extern const char kChromeChannelSwitch[];
+
+// Encodes Chrome's channel as an integer to be passed to the SRT on the command
+// line. The SRT binary expects to receive Chrome's channel encoded as:
+// 0: unknown; 1: canary; 2: dev; 3: beta; 4: stable.
+int ChannelAsInt();
+
+} // namespace safe_browsing
+
+#endif // CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_
« no previous file with comments | « chrome/browser/component_updater/sw_reporter_installer_win.cc ('k') | chrome/browser/safe_browsing/srt_client_info_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698