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

Unified Diff: chrome/tools/profiles/generate_profile.cc

Issue 42013: Slight code change to make some global variables const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/tools/crash_service/crash_service.h ('k') | chrome/views/bitmap_scroll_bar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/tools/profiles/generate_profile.cc
===================================================================
--- chrome/tools/profiles/generate_profile.cc (revision 11293)
+++ chrome/tools/profiles/generate_profile.cc (working copy)
@@ -120,8 +120,8 @@
PageTransition::Type transition = PageTransition::TYPED;
const int end_page_id = page_id + batch_size;
for (; page_id < end_page_id; ++page_id) {
- // Randomly decide whether this new URL simulates following a link or whether
- // it's a jump to a new URL.
+ // Randomly decide whether this new URL simulates following a link or
+ // whether it's a jump to a new URL.
if (!previous_url.is_empty() && RandomFloat() < kFollowLinkProbability) {
transition = PageTransition::LINK;
} else {
« no previous file with comments | « chrome/tools/crash_service/crash_service.h ('k') | chrome/views/bitmap_scroll_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698