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

Unified Diff: chrome/browser/ui/send_feedback_experiment.h

Issue 12490012: Send Feedback Experiment (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: removed duplicate constant strings Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698