Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 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_UI_SEND_FEEDBACK_EXPERIMENT_H_ | |
| 6 #define CHROME_BROWSER_UI_SEND_FEEDBACK_EXPERIMENT_H_ | |
| 7 | |
| 8 // This file exists to facilitate a field trial which modifies the description | |
| 9 // and/or location of the Report Feedback menu option, and corresponding option | |
| 10 // on the chrome://help page. (crbug.com/169339) | |
| 11 namespace chrome { | |
| 12 | |
| 13 namespace send_feedback_experiment { | |
|
sky
2013/03/21 15:02:50
This namespace isn't necessary and is against late
Harry McCleave
2013/03/21 20:42:09
Done.
| |
| 14 | |
| 15 // Returns true if the alternative (Send Feedback) text should be | |
| 16 // used in place of the original (Report an Issue...). | |
| 17 bool UseAlternateText(); | |
| 18 | |
| 19 // Returns True if the alternative menu location for the Send Feedback/Report | |
|
sky
2013/03/21 15:02:50
nit: True -> true
Harry McCleave
2013/03/21 20:42:09
Done.
| |
| 20 // an Issue... option should be used. | |
| 21 bool UseAlternateLocation(); | |
| 22 | |
| 23 // Return the ID for the desired string to be used for a menu item | |
| 24 // (See UseAlternateText). | |
| 25 int GetMenuLabelID(); | |
| 26 | |
| 27 } // namespace send_feedback_experiment | |
| 28 | |
| 29 } // namespace chrome | |
| 30 | |
| 31 #endif // CHROME_BROWSER_UI_SEND_FEEDBACK_EXPERIMENT_H_ | |
| OLD | NEW |