summaryrefslogtreecommitdiffstats
path: root/chrome/browser/performance_monitor/constants.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/performance_monitor/constants.cc')
-rw-r--r--chrome/browser/performance_monitor/constants.cc16
1 files changed, 2 insertions, 14 deletions
diff --git a/chrome/browser/performance_monitor/constants.cc b/chrome/browser/performance_monitor/constants.cc
index dd9a115..8efa06a 100644
--- a/chrome/browser/performance_monitor/constants.cc
+++ b/chrome/browser/performance_monitor/constants.cc
@@ -4,10 +4,10 @@
#include "chrome/browser/performance_monitor/constants.h"
-#include "base/time.h"
-
namespace performance_monitor {
+// TODO(chebert): i18n on all constants.
+
// The error message displayed when a metric's details are not found.
const char kMetricNotFoundError[] = "Metric details not found.";
@@ -28,16 +28,4 @@ const char kStateChromeVersion[] = "chrome_version";
// collisions in the database.
const char kStateProfilePrefix[] = "profile";
-// Unit values
-// Memory measurements
-const int64 kBytesPerKilobyte = 1 << 10;
-const int64 kBytesPerMegabyte = kBytesPerKilobyte * (1 << 10);
-const int64 kBytesPerGigabyte = kBytesPerMegabyte * (1 << 10);
-const int64 kBytesPerTerabyte = kBytesPerGigabyte * (1 << 10);
-
-// Time measurements
-const int64 kMicrosecondsPerMonth = base::Time::kMicrosecondsPerDay * 30;
-const int64 kMicrosecondsPerYear = base::Time::kMicrosecondsPerDay * 365;
-
-
} // namespace performance_monitor