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

Unified Diff: chrome/browser/feedback/feedback_data.h

Issue 9006003: Refactor and fix feedback (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 2011 -> 2012 Created 8 years, 12 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
« no previous file with comments | « chrome/browser/bug_report_util.cc ('k') | chrome/browser/feedback/feedback_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/feedback/feedback_data.h
diff --git a/chrome/browser/bug_report_data.h b/chrome/browser/feedback/feedback_data.h
similarity index 83%
rename from chrome/browser/bug_report_data.h
rename to chrome/browser/feedback/feedback_data.h
index 2b404b2a32ec8773842f04a8d3c02f2cc204977c..393f4b0793d38db212eb5fcbd44e2150f8409f90 100644
--- a/chrome/browser/bug_report_data.h
+++ b/chrome/browser/feedback/feedback_data.h
@@ -1,9 +1,9 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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_BUG_REPORT_DATA_H_
-#define CHROME_BROWSER_BUG_REPORT_DATA_H_
+#ifndef CHROME_BROWSER_FEEDBACK_FEEDBACK_DATA_H_
+#define CHROME_BROWSER_FEEDBACK_FEEDBACK_DATA_H_
#include <string>
#include <vector>
@@ -17,16 +17,16 @@
class Profile;
-class BugReportData {
+class FeedbackData {
public:
- BugReportData();
- ~BugReportData();
+ FeedbackData();
+ ~FeedbackData();
void SendReport();
void UpdateData(Profile* profile,
const std::string& target_tab_url,
- const int problem_type,
+ const std::string& category_tag,
const std::string& page_url,
const std::string& description,
ScreenshotDataPtr image
@@ -44,7 +44,7 @@ class BugReportData {
const std::string& target_tab_url() const { return target_tab_url_; }
- int problem_type() const { return problem_type_; }
+ const std::string& category_tag() const { return category_tag_; }
const std::string& page_url() const { return page_url_; }
const std::string& description() const { return description_; }
ScreenshotDataPtr image() const { return image_; }
@@ -63,7 +63,7 @@ class BugReportData {
// Target tab url.
std::string target_tab_url_;
- int problem_type_;
+ std::string category_tag_;
std::string page_url_;
std::string description_;
ScreenshotDataPtr image_;
@@ -82,4 +82,4 @@ class BugReportData {
#endif
};
-#endif // CHROME_BROWSER_BUG_REPORT_DATA_H_
+#endif // CHROME_BROWSER_FEEDBACK_FEEDBACK_DATA_H_
« no previous file with comments | « chrome/browser/bug_report_util.cc ('k') | chrome/browser/feedback/feedback_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698