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

Unified Diff: chrome/test/perf/perf_test.h

Issue 14273023: Rebuild test history databases when starting up performance_ui_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Speed up profile generation Created 7 years, 8 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
Index: chrome/test/perf/perf_test.h
diff --git a/chrome/test/perf/perf_test.h b/chrome/test/perf/perf_test.h
index c40cc5ec9c1eea1653c39c6329acd1863cf31fa8..3834e044c286b2485f3f1addb076f816edcf5c56 100644
--- a/chrome/test/perf/perf_test.h
+++ b/chrome/test/perf/perf_test.h
@@ -10,6 +10,10 @@
#include "chrome/test/base/chrome_process_util.h"
+namespace base {
+class FilePath;
+}
+
namespace perf_test {
// Prints numerical information to stdout in a controlled format, for
@@ -136,6 +140,20 @@ std::string SystemCommitChargeToString(const std::string& test_name,
size_t charge,
bool important);
+// Profile theme type choices.
+enum ProfileType {
+ DEFAULT_THEME = 0,
+ COMPLEX_THEME = 1,
+};
+
+// Sets the directory name where we should look for "typical" user data during
+// testing.
+void SetPathForProfileType(ProfileType profile_type, base::FilePath path);
Paweł Hajdan Jr. 2013/04/26 23:19:32 nit: Why not const base::FilePath& path?
+
+// Returns the directory name where the "typical" user data is that we use
+// for testing.
+base::FilePath GetPathForProfileType(ProfileType profile_type);
+
} // namespace perf_test
#endif // CHROME_TEST_PERF_PERF_TEST_H_

Powered by Google App Engine
This is Rietveld 408576698