OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_TEST_PERF_BROWSER_PERF_TEST_H_ | |
6 #define CHROME_TEST_PERF_BROWSER_PERF_TEST_H_ | |
7 #pragma once | |
8 | |
9 #include "chrome/test/base/in_process_browser_test.h" | |
10 | |
11 class CommandLine; | |
12 | |
13 class BrowserPerfTest : public InProcessBrowserTest { | |
14 public: | |
15 BrowserPerfTest(); | |
16 virtual ~BrowserPerfTest(); | |
17 | |
18 // Set up common browser perf test flags. Typically call down to this if | |
19 // overridden. | |
20 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE; | |
21 | |
22 // Prints IO performance data for use by perf graphs. | |
23 void PrintIOPerfInfo(const std::string& test_name); | |
24 | |
25 // Prints memory usage data for use by perf graphs. | |
26 void PrintMemoryUsageInfo(const std::string& test_name); | |
27 }; | |
28 | |
29 #endif // CHROME_TEST_PERF_BROWSER_PERF_TEST_H_ | |
OLD | NEW |