OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_ |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_ |
| 7 |
| 8 namespace safe_browsing { |
| 9 |
| 10 extern const char kChromeVersionSwitch[]; |
| 11 extern const char kChromeChannelSwitch[]; |
| 12 |
| 13 // Encodes Chrome's channel as an integer to be passed to the SRT on the command |
| 14 // line. The SRT binary expects to receive Chrome's channel encoded as: |
| 15 // 0: unknown; 1: canary; 2: dev; 3: beta; 4: stable. |
| 16 int ChannelAsInt(); |
| 17 |
| 18 } // namespace safe_browsing |
| 19 |
| 20 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_ |
OLD | NEW |