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

Unified Diff: mojo/edk/system/test/perf_log.cc

Issue 1430593005: EDK: Remove (direct) dependencies of //mojo/edk/system on //base/test. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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 | « mojo/edk/system/test/perf_log.h ('k') | mojo/edk/system/test/run_all_perftests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/test/perf_log.cc
diff --git a/mojo/edk/system/connection_manager.cc b/mojo/edk/system/test/perf_log.cc
similarity index 51%
copy from mojo/edk/system/connection_manager.cc
copy to mojo/edk/system/test/perf_log.cc
index ae3d4ecc9ea8b50797ac6b7e7077e6227c9a5688..5b9d738688fb09e3eb5b485278d4a3b3bc367e3f 100644
--- a/mojo/edk/system/connection_manager.cc
+++ b/mojo/edk/system/test/perf_log.cc
@@ -2,14 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/edk/system/connection_manager.h"
+#include "mojo/edk/system/test/perf_log.h"
+
+#include "base/test/perf_log.h"
namespace mojo {
namespace system {
+namespace test {
-ConnectionIdentifier ConnectionManager::GenerateConnectionIdentifier() {
- return UniqueIdentifier::Generate(platform_support_);
+void LogPerfResult(const char* test_name, double value, const char* units) {
+ base::LogPerfResult(test_name, value, units);
}
+} // namespace test
} // namespace system
} // namespace mojo
« no previous file with comments | « mojo/edk/system/test/perf_log.h ('k') | mojo/edk/system/test/run_all_perftests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698