Chromium Code Reviews| Index: chrome/browser/ui/send_feedback_experiment.h |
| diff --git a/chrome/browser/ui/send_feedback_experiment.h b/chrome/browser/ui/send_feedback_experiment.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c898505a2da10a073af1ac7e0da6479fca4a1d15 |
| --- /dev/null |
| +++ b/chrome/browser/ui/send_feedback_experiment.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_SEND_FEEDBACK_EXPERIMENT_H_ |
| +#define CHROME_BROWSER_UI_SEND_FEEDBACK_EXPERIMENT_H_ |
| + |
| +// This file exists to facilitate a field trial which modifies the description |
| +// and/or location of the Report Feedback menu option, and corresponding option |
| +// on the chrome://help page. (crbug.com/169339) |
| +namespace chrome { |
| + |
| +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.
|
| + |
| +// Returns true if the alternative (Send Feedback) text should be |
| +// used in place of the original (Report an Issue...). |
| +bool UseAlternateText(); |
| + |
| +// 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.
|
| +// an Issue... option should be used. |
| +bool UseAlternateLocation(); |
| + |
| +// Return the ID for the desired string to be used for a menu item |
| +// (See UseAlternateText). |
| +int GetMenuLabelID(); |
| + |
| +} // namespace send_feedback_experiment |
| + |
| +} // namespace chrome |
| + |
| +#endif // CHROME_BROWSER_UI_SEND_FEEDBACK_EXPERIMENT_H_ |