OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef CHROME_TEST_PERF_GENERATE_PROFILE_H_ | |
6 #define CHROME_TEST_PERF_GENERATE_PROFILE_H_ | |
7 | |
8 namespace base { | |
9 class FilePath; | |
10 } | |
11 | |
12 // Addition types data can be generated for. By default only urls/visits are | |
13 // added. | |
14 enum GenerateProfileTypes { | |
15 TOP_SITES = 1 << 0, | |
16 FULL_TEXT = 1 << 1 | |
17 }; | |
18 | |
19 // Generates a user profile and history by randomly generating data and feeding | |
Randy Smith (Not in Mondays)
2013/04/29 18:49:13
I'm made nervous by the word "randomly" in here--a
| |
20 // it to the history service. Returns true if successful. | |
21 bool GenerateProfile(GenerateProfileTypes types, | |
22 int urlcount, | |
23 const base::FilePath& dst_dir); | |
Paweł Hajdan Jr.
2013/04/26 23:19:32
nit: Add WARN_UNUSED_RESULT from base/compiler_spe
| |
24 | |
25 #endif // CHROME_TEST_PERF_GENERATE_PROFILE_H_ | |
OLD | NEW |