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

Unified Diff: chrome/browser/dom_ui/bug_report_ui.cc

Issue 6366007: Disable sending of page title in Chrome reports. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mac build fix. Created 9 years, 11 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/ui/cocoa/bug_report_window_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/bug_report_ui.cc
diff --git a/chrome/browser/dom_ui/bug_report_ui.cc b/chrome/browser/dom_ui/bug_report_ui.cc
index 9fd907c8641c9c29011a52f1f630e8a01ee77c09..9b07da88ae34ec55ed14ff58b08819e1fc20c293 100644
--- a/chrome/browser/dom_ui/bug_report_ui.cc
+++ b/chrome/browser/dom_ui/bug_report_ui.cc
@@ -226,7 +226,6 @@ class BugReportHandler : public DOMMessageHandler,
DOMUIScreenshotSource* screenshot_source_;
BugReportData* bug_report_;
- string16 target_tab_title_;
std::string target_tab_url_;
#if defined(OS_CHROMEOS)
// Variables to track SyslogsLibrary::RequestSyslogs callback.
@@ -405,7 +404,6 @@ void BugReportData::SendReport() {
char* image_data = image_data_size ?
reinterpret_cast<char*>(&(image_.front())) : NULL;
BugReportUtil::SendReport(profile_
- , UTF16ToUTF8(target_tab_title_)
, problem_type_
, page_url_
, description_
@@ -527,7 +525,6 @@ base::StringPiece BugReportHandler::Init() {
TabContents* target_tab = browser->GetTabContentsAt(index);
if (target_tab) {
- target_tab_title_ = target_tab->GetTitle();
target_tab_url_ = target_tab->GetURL().spec();
}
@@ -685,7 +682,6 @@ void BugReportHandler::HandleSendReport(const ListValue* list_value) {
// Update the data in bug_report_ so it can be sent
bug_report_->UpdateData(dom_ui_->GetProfile()
, target_tab_url_
- , target_tab_title_
, problem_type
, page_url
, description
« no previous file with comments | « chrome/browser/bug_report_util.cc ('k') | chrome/browser/ui/cocoa/bug_report_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698