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_GENERATE_PROFILE_H_
6 #define CHROME_TEST_PERF_GENERATE_PROFILE_H_
8 #include "base/compiler_specific.h"
14 // Addition types data can be generated for. By default only urls/visits are
16 enum GenerateProfileTypes {
20 // Generates a user profile and history by psuedo-randomly generating data and
21 // feeding it to the history service. (srand is initialized with whatever
22 // urlcount is before profile is generated for deterministic output; it is
23 // reset to time() afterwards.) Returns true if successful.
24 bool GenerateProfile(GenerateProfileTypes types,
26 const base::FilePath& dst_dir) WARN_UNUSED_RESULT;
28 #endif // CHROME_TEST_PERF_GENERATE_PROFILE_H_