Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / test / perf / browser_perf_test.h
blob8b723d1856a4789e3282dbd63f3a4c98fdcf8b11
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 class CommandLine;
12 class BrowserPerfTest : public InProcessBrowserTest {
13 public:
14 BrowserPerfTest();
15 virtual ~BrowserPerfTest();
17 // Set up common browser perf test flags. Typically call down to this if
18 // overridden.
19 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
21 // Prints IO performance data for use by perf graphs.
22 void PrintIOPerfInfo(const std::string& test_name);
24 // Prints memory usage data for use by perf graphs.
25 void PrintMemoryUsageInfo(const std::string& test_name);
28 #endif // CHROME_TEST_PERF_BROWSER_PERF_TEST_H_