1 // Copyright (c) 2013 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_PERF_UI_TEST_SUITE_H_
6 #define CHROME_TEST_PERF_PERF_UI_TEST_SUITE_H_
8 #include "base/files/scoped_temp_dir.h"
9 #include "chrome/test/ui/ui_test_suite.h"
15 // UITestSuite which creates two testing profiles at Initialize() time. We
16 // create fake profiles so we don't commit 10-20 megabytes of binary data to
17 // the repository each time we change the history format (or even worse, don't
18 // update the test profiles and have incorrect performance data!)
19 class PerfUITestSuite
: public UITestSuite
{
21 PerfUITestSuite(int argc
, char** argv
);
22 virtual ~PerfUITestSuite();
24 // Profile theme type choices.
30 // Returns the directory name where the "typical" user data is that we use
32 static base::FilePath
GetPathForProfileType(ProfileType profile_type
);
34 // Overridden from UITestSuite:
35 virtual void Initialize() OVERRIDE
;
38 // Builds a "Cached Theme.pak" file in |extension_base|.
39 void BuildCachedThemePakIn(const base::FilePath
& extension_base
);
41 base::ScopedTempDir default_profile_dir_
;
42 base::ScopedTempDir complex_profile_dir_
;
45 #endif // CHROME_TEST_PERF_PERF_UI_TEST_SUITE_H_