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

Unified Diff: chrome/browser/memory_details_linux.cc

Issue 12225022: Delete kBrowserAppName in favor of IDS_SHORT_PRODUCT_NAME. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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 | « no previous file | chrome/common/chrome_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory_details_linux.cc
===================================================================
--- chrome/browser/memory_details_linux.cc (revision 180775)
+++ chrome/browser/memory_details_linux.cc (working copy)
@@ -17,6 +17,8 @@
#include "chrome/common/chrome_constants.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/common/process_type.h"
+#include "grit/chromium_strings.h"
+#include "ui/base/l10n/l10n_util.h"
using base::ProcessEntry;
using content::BrowserThread;
@@ -49,7 +51,7 @@
static const struct {
const char process_name[16];
BrowserType browser;
- } kBrowserBinaryNames[] = {
+} kBrowserBinaryNames[] = {
{ "firefox", FIREFOX },
{ "firefox-3.5", FIREFOX },
{ "firefox-3.0", FIREFOX },
@@ -192,7 +194,7 @@
ProcessData current_browser =
GetProcessDataMemoryInformation(GetAllChildren(process_map, getpid()));
- current_browser.name = WideToUTF16(chrome::kBrowserAppName);
+ current_browser.name = l10n_util::GetStringUTF16(IDS_SHORT_PRODUCT_NAME);
current_browser.process_name = ASCIIToUTF16("chrome");
for (std::vector<ProcessMemoryInformation>::iterator
« no previous file with comments | « no previous file | chrome/common/chrome_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698