summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_process_logging_posix.cc
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-14 15:57:04 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-14 15:57:04 +0000
commitbc982a9d307b187d1bd86f278c6bd4cd08e4bcbb (patch)
treebef6b7d06c8c99efe7c4f6f592cedc1a90c4fd61 /chrome/common/child_process_logging_posix.cc
parent93baa2f9d381a40447a923a2f4b8e1c9067f6665 (diff)
downloadchromium_src-bc982a9d307b187d1bd86f278c6bd4cd08e4bcbb.zip
chromium_src-bc982a9d307b187d1bd86f278c6bd4cd08e4bcbb.tar.gz
chromium_src-bc982a9d307b187d1bd86f278c6bd4cd08e4bcbb.tar.bz2
Set the product channel in crash reports using the crash key logging system.
BUG=77656 Review URL: https://chromiumcodereview.appspot.com/23658051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223253 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_logging_posix.cc')
-rw-r--r--chrome/common/child_process_logging_posix.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/common/child_process_logging_posix.cc b/chrome/common/child_process_logging_posix.cc
index 9b9b5b51..e0c11a0 100644
--- a/chrome/common/child_process_logging_posix.cc
+++ b/chrome/common/child_process_logging_posix.cc
@@ -17,15 +17,12 @@ namespace child_process_logging {
// Account for the terminating null character.
static const size_t kClientIdSize = 32 + 1;
-static const size_t kChannelSize = 32;
// We use static strings to hold the most recent active url and the client
// identifier. If we crash, the crash handler code will send the contents of
// these strings to the browser.
char g_client_id[kClientIdSize];
-char g_channel[kChannelSize] = "";
-
char g_printer_info[kPrinterInfoStrLen * kMaxReportedPrinterRecords + 1] = "";
static const size_t kNumSize = 32;
@@ -111,8 +108,4 @@ void SetExperimentList(const std::vector<string16>& experiments) {
experiments.size());
}
-void SetChannel(const std::string& channel) {
- base::strlcpy(g_channel, channel.c_str(), arraysize(g_channel));
-}
-
} // namespace child_process_logging