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_ |