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

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: Remove useless log message Created 4 years, 4 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..a706ce13945c2b24338622b465f7ccd3da9b3703
--- /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 recieve Chrome's channel encoded as:
csharp 2016/08/30 13:39:08 nit: recieve -> receive
ftirelo 2016/08/30 21:21:48 Done.
+// 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_

Powered by Google App Engine
This is Rietveld 408576698