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

Side by Side Diff: chrome/test/perf/generate_profile.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698