Roll src/third_party/WebKit bf18a82:a9cee16 (svn 185297:185304)
[chromium-blink-merge.git] / chrome / test / perf / browser_perf_test.h
blobed54f17e7352ef40a1a09cfb588915580c14fd4c
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.
5 #ifndef CHROME_TEST_PERF_BROWSER_PERF_TEST_H_
6 #define CHROME_TEST_PERF_BROWSER_PERF_TEST_H_
8 #include "chrome/test/base/in_process_browser_test.h"
10 namespace base {
11 class CommandLine;
14 class BrowserPerfTest : public InProcessBrowserTest {
15 public:
16 BrowserPerfTest();
17 ~BrowserPerfTest() override;
19 // Set up common browser perf test flags. Typically call down to this if
20 // overridden.
21 void SetUpCommandLine(base::CommandLine* command_line) override;
23 // Prints IO performance data for use by perf graphs.
24 void PrintIOPerfInfo(const std::string& test_name);
26 // Prints memory usage data for use by perf graphs.
27 void PrintMemoryUsageInfo(const std::string& test_name);
30 #endif // CHROME_TEST_PERF_BROWSER_PERF_TEST_H_