| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_FIELD_TRIAL_WIN_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_SRT_FIELD_TRIAL_WIN_H_ |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_SRT_FIELD_TRIAL_WIN_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_SRT_FIELD_TRIAL_WIN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 namespace safe_browsing { | 10 namespace safe_browsing { |
| 11 | 11 |
| 12 // These values are used to send UMA information and are replicated in the | 12 // These values are used to send UMA information and are replicated in the |
| 13 // histograms.xml file, so the order MUST NOT CHANGE. | 13 // histograms.xml file, so the order MUST NOT CHANGE. |
| 14 enum SRTPromptHistogramValue { | 14 enum SRTPromptHistogramValue { |
| 15 SRT_PROMPT_SHOWN = 0, | 15 SRT_PROMPT_SHOWN = 0, |
| 16 SRT_PROMPT_ACCEPTED = 1, | 16 SRT_PROMPT_ACCEPTED = 1, |
| (...skipping 22 matching lines...) Expand all Loading... |
| 39 const char* GetSRTDownloadURL(); | 39 const char* GetSRTDownloadURL(); |
| 40 | 40 |
| 41 // Returns the value of the incoming SRT seed. | 41 // Returns the value of the incoming SRT seed. |
| 42 std::string GetIncomingSRTSeed(); | 42 std::string GetIncomingSRTSeed(); |
| 43 | 43 |
| 44 // Records a value for the SRT Prompt Histogram. | 44 // Records a value for the SRT Prompt Histogram. |
| 45 void RecordSRTPromptHistogram(SRTPromptHistogramValue value); | 45 void RecordSRTPromptHistogram(SRTPromptHistogramValue value); |
| 46 | 46 |
| 47 } // namespace safe_browsing | 47 } // namespace safe_browsing |
| 48 | 48 |
| 49 #endif // CHROME_BROWSER_SAFE_BROWSING_SRT_FIELD_TRIAL_WIN_H_ | 49 #endif // CHROME_BROWSER_SAFE_BROWSING_CHROME_CLEANER_SRT_FIELD_TRIAL_WIN_H_ |
| OLD | NEW |