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

Unified Diff: chrome/test/perf/browser_perf_test.cc

Issue 938603004: Cleanup: Remove chrome_perf_test target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing testing/perf/perf_test.gyp dependency to browser_tests Created 5 years, 9 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 | « chrome/test/perf/browser_perf_test.h ('k') | chrome/test/perf/perf_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/perf/browser_perf_test.cc
diff --git a/chrome/test/perf/browser_perf_test.cc b/chrome/test/perf/browser_perf_test.cc
deleted file mode 100644
index 6e03a6212334029b516a4930246d9293c1e242bf..0000000000000000000000000000000000000000
--- a/chrome/test/perf/browser_perf_test.cc
+++ /dev/null
@@ -1,33 +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/test/perf/browser_perf_test.h"
-
-#include "base/command_line.h"
-#include "chrome/common/chrome_switches.h"
-#include "chrome/test/base/chrome_process_util.h"
-#include "chrome/test/perf/perf_test.h"
-
-BrowserPerfTest::BrowserPerfTest() {
-}
-
-BrowserPerfTest::~BrowserPerfTest() {
-}
-
-void BrowserPerfTest::SetUpCommandLine(base::CommandLine* command_line) {
- // Reduce performance test variance by disabling background networking.
- command_line->AppendSwitch(switches::kDisableBackgroundNetworking);
-}
-
-void BrowserPerfTest::PrintIOPerfInfo(const std::string& test_name) {
- base::ProcessId browser_pid = base::GetCurrentProcId();
- ChromeProcessList chrome_processes(GetRunningChromeProcesses(browser_pid));
- perf_test::PrintIOPerfInfo(test_name, chrome_processes, browser_pid);
-}
-
-void BrowserPerfTest::PrintMemoryUsageInfo(const std::string& test_name) {
- base::ProcessId browser_pid = base::GetCurrentProcId();
- ChromeProcessList chrome_processes(GetRunningChromeProcesses(browser_pid));
- perf_test::PrintMemoryUsageInfo(test_name, chrome_processes, browser_pid);
-}
« no previous file with comments | « chrome/test/perf/browser_perf_test.h ('k') | chrome/test/perf/perf_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698