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

Unified Diff: chrome/test/live_sync/performance/typed_urls_sync_perf_test.cc

Issue 7541052: Sync performance tests: append underscore to private variable names. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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/test/live_sync/performance/bookmarks_sync_perf_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/live_sync/performance/typed_urls_sync_perf_test.cc
diff --git a/chrome/test/live_sync/performance/typed_urls_sync_perf_test.cc b/chrome/test/live_sync/performance/typed_urls_sync_perf_test.cc
index 7954f2d9169c1dd66cb8f2faa65703ea29c0d776..77f4c2c3c6484e7d15c851a32ebe7c404268d0cd 100644
--- a/chrome/test/live_sync/performance/typed_urls_sync_perf_test.cc
+++ b/chrome/test/live_sync/performance/typed_urls_sync_perf_test.cc
@@ -17,7 +17,7 @@ static const size_t kBenchmarkPoints[] = {1, 10, 20, 30, 40, 50, 75, 100, 125,
class TypedUrlsSyncPerfTest: public TwoClientLiveTypedUrlsSyncTest {
public:
- TypedUrlsSyncPerfTest() : url_number(0) {}
+ TypedUrlsSyncPerfTest() : url_number_(0) {}
// Adds |num_urls| new unique typed urls to |profile|.
void AddURLs(int profile, int num_urls);
@@ -42,7 +42,7 @@ class TypedUrlsSyncPerfTest: public TwoClientLiveTypedUrlsSyncTest {
// Returns a unique URL according to the integer |n|.
GURL IntToURL(int n);
- int url_number;
+ int url_number_;
DISALLOW_COPY_AND_ASSIGN(TypedUrlsSyncPerfTest);
};
@@ -82,7 +82,7 @@ void TypedUrlsSyncPerfTest::Cleanup() {
}
GURL TypedUrlsSyncPerfTest::NextURL() {
- return IntToURL(url_number++);
+ return IntToURL(url_number_++);
}
GURL TypedUrlsSyncPerfTest::IntToURL(int n) {
« no previous file with comments | « chrome/test/live_sync/performance/bookmarks_sync_perf_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698