| 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 // Encodes Chrome's channel as an integer to be passed to the SRT on the command | |
| 11 // line. The SRT binary expects to receive Chrome's channel encoded as: | |
| 12 // 0: unknown; 1: canary; 2: dev; 3: beta; 4: stable. | |
| 13 int ChannelAsInt(); | |
| 14 | |
| 15 // Returns true if there is a profile that is not in incognito mode and the user | |
| 16 // has opted into Safe Browsing extended reporting. | |
| 17 bool SafeBrowsingExtendedReportingEnabled(); | |
| 18 | |
| 19 } // namespace safe_browsing | |
| 20 | |
| 21 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_ | |
| OLD | NEW |