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

Unified Diff: chrome/browser/metrics_log.cc

Issue 4079: Porting refactoring changes:... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 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/metrics_log.cc
===================================================================
--- chrome/browser/metrics_log.cc (revision 2544)
+++ chrome/browser/metrics_log.cc (working copy)
@@ -12,7 +12,6 @@
#include "base/sys_info.h"
#include "chrome/browser/autocomplete/autocomplete.h"
#include "chrome/browser/browser_process.h"
-#include "chrome/common/env_util.h"
#include "chrome/common/logging_chrome.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/pref_service.h"
@@ -447,7 +446,7 @@
{
OPEN_ELEMENT_FOR_SCOPE("cpu");
- WriteAttribute("arch", env_util::GetCPUArchitecture());
+ WriteAttribute("arch", base::SysInfo::CPUArchitecture());
}
{
@@ -469,19 +468,19 @@
{
OPEN_ELEMENT_FOR_SCOPE("os");
WriteAttribute("name",
- env_util::GetOperatingSystemName());
+ base::SysInfo::OperatingSystemName());
WriteAttribute("version",
- env_util::GetOperatingSystemVersion());
+ base::SysInfo::OperatingSystemVersion());
}
{
OPEN_ELEMENT_FOR_SCOPE("display");
int width = 0;
int height = 0;
- env_util::GetPrimaryDisplayDimensions(&width, &height);
+ base::SysInfo::GetPrimaryDisplayDimensions(&width, &height);
WriteIntAttribute("xsize", width);
WriteIntAttribute("ysize", height);
- WriteIntAttribute("screens", env_util::GetDisplayCount());
+ WriteIntAttribute("screens", base::SysInfo::DisplayCount());
}
{

Powered by Google App Engine
This is Rietveld 408576698