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

Unified Diff: chrome/browser/performance_monitor/metric_info.cc

Issue 10874041: Refactor Metrics (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 4 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/performance_monitor/metric_info.cc
diff --git a/chrome/browser/performance_monitor/metric_info.cc b/chrome/browser/performance_monitor/metric_info.cc
deleted file mode 100644
index 79ed181248fc60e8d9e571e91331539ecfce252b..0000000000000000000000000000000000000000
--- a/chrome/browser/performance_monitor/metric_info.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/performance_monitor/metric_info.h"
-
-#include "base/logging.h"
-#include "base/string_number_conversions.h"
-
-namespace performance_monitor {
-
-MetricInfo::MetricInfo() {
- value = 0.0;
-}
-
-MetricInfo::MetricInfo(const base::Time& metric_time, double metric_value)
- : time(metric_time),
- value(metric_value) {
-}
-
-MetricInfo::MetricInfo(const std::string& metric_time,
- const std::string& metric_value) {
- int64 conversion = 0;
- base::StringToInt64(metric_time, &conversion);
- time = base::Time::FromInternalValue(conversion);
- CHECK(base::StringToDouble(metric_value, &value));
-}
-
-MetricInfo::~MetricInfo() {
-}
-
-} // namespace performance_monitor

Powered by Google App Engine
This is Rietveld 408576698