| Index: chrome/test/perf/generate_profile.cc
|
| diff --git a/chrome/test/perf/generate_profile.cc b/chrome/test/perf/generate_profile.cc
|
| index 0e38251f124c55ef2a1c3b174cec76befcc80bd5..44c72adcc8cada77c4ef5a73b4cd6edca89ac47b 100644
|
| --- a/chrome/test/perf/generate_profile.cc
|
| +++ b/chrome/test/perf/generate_profile.cc
|
| @@ -55,14 +55,14 @@ inline int RandomInt(int min, int max) {
|
| }
|
|
|
| // Return a string of |count| lowercase random characters.
|
| -string16 RandomChars(int count) {
|
| - string16 str;
|
| +base::string16 RandomChars(int count) {
|
| + base::string16 str;
|
| for (int i = 0; i < count; ++i)
|
| str += L'a' + rand() % 26;
|
| return str;
|
| }
|
|
|
| -string16 RandomWord() {
|
| +base::string16 RandomWord() {
|
| // TODO(evanm): should we instead use the markov chain based
|
| // version of this that I already wrote?
|
|
|
| @@ -78,8 +78,8 @@ string16 RandomWord() {
|
| }
|
|
|
| // Return a string of |count| random words.
|
| -string16 RandomWords(int count) {
|
| - string16 str;
|
| +base::string16 RandomWords(int count) {
|
| + base::string16 str;
|
| for (int i = 0; i < count; ++i) {
|
| if (!str.empty())
|
| str += L' ';
|
| @@ -95,7 +95,7 @@ GURL ConstructRandomURL() {
|
| }
|
|
|
| // Return a random page title-looking string.
|
| -string16 ConstructRandomTitle() {
|
| +base::string16 ConstructRandomTitle() {
|
| return RandomWords(RandomInt(3, 15));
|
| }
|
|
|
|
|