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

Side by Side Diff: chrome/browser/safe_browsing/srt_client_info_win.h

Issue 2812223003: Move shared constants to //components/chrome_cleaner (Closed)
Patch Set: Code review Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_
7 7
8 namespace safe_browsing { 8 namespace safe_browsing {
9 9
10 extern const char kChromeChannelSwitch[];
11 extern const char kChromeVersionSwitch[];
12 extern const char kEnableCrashReporting[];
13 extern const char kExtendedSafeBrowsingEnabledSwitch[];
14
15 // Encodes Chrome's channel as an integer to be passed to the SRT on the command 10 // Encodes Chrome's channel as an integer to be passed to the SRT on the command
16 // line. The SRT binary expects to receive Chrome's channel encoded as: 11 // line. The SRT binary expects to receive Chrome's channel encoded as:
17 // 0: unknown; 1: canary; 2: dev; 3: beta; 4: stable. 12 // 0: unknown; 1: canary; 2: dev; 3: beta; 4: stable.
18 int ChannelAsInt(); 13 int ChannelAsInt();
19 14
20 // Returns true if there is a profile that is not in incognito mode and the user 15 // Returns true if there is a profile that is not in incognito mode and the user
21 // has opted into Safe Browsing extended reporting. 16 // has opted into Safe Browsing extended reporting.
22 bool SafeBrowsingExtendedReportingEnabled(); 17 bool SafeBrowsingExtendedReportingEnabled();
23 18
24 } // namespace safe_browsing 19 } // namespace safe_browsing
25 20
26 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_ 21 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_CLIENT_INFO_WIN_H_
OLDNEW
« 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