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

Unified Diff: chrome/test/perf/generate_profile.cc

Issue 65813002: mac: Prepare most test code for -Wunused-functions too. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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/generate_profile.cc
diff --git a/chrome/test/perf/generate_profile.cc b/chrome/test/perf/generate_profile.cc
index d3484b5ba7bde0c643cc6ac2c033db9d8eb6ce16..b3fcf66c9ab7dd861a305dea66099cd4c7edfb4b 100644
--- a/chrome/test/perf/generate_profile.cc
+++ b/chrome/test/perf/generate_profile.cc
@@ -114,11 +114,6 @@ string16 ConstructRandomTitle() {
return RandomWords(RandomInt(3, 15));
}
-// Return a random string that could function as page contents.
-string16 ConstructRandomPage() {
- return RandomWords(RandomInt(10, 4000));
-}
-
// Insert a batch of |batch_size| URLs, starting at pageid |page_id|.
void InsertURLBatch(Profile* profile,
int page_id,
« no previous file with comments | « chrome/test/chromedriver/element_util.cc ('k') | components/autofill/core/browser/autofill_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698