| Index: chrome/test/live_sync/perf/live_sync_timing_helper.cc
|
| diff --git a/chrome/test/live_sync/live_sync_timing_helper.cc b/chrome/test/live_sync/perf/live_sync_timing_helper.cc
|
| similarity index 92%
|
| rename from chrome/test/live_sync/live_sync_timing_helper.cc
|
| rename to chrome/test/live_sync/perf/live_sync_timing_helper.cc
|
| index d910c99c56009273788187ca016b117707baa94e..29faa4a1985da47cd6d18752311c6700d7694cda 100644
|
| --- a/chrome/test/live_sync/live_sync_timing_helper.cc
|
| +++ b/chrome/test/live_sync/perf/live_sync_timing_helper.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/test/live_sync/live_sync_timing_helper.h"
|
| +#include "chrome/test/live_sync/perf/live_sync_timing_helper.h"
|
|
|
| #include "base/time.h"
|
| #include "chrome/browser/sync/profile_sync_service_harness.h"
|
| @@ -12,6 +12,7 @@ LiveSyncTimingHelper::LiveSyncTimingHelper() {}
|
|
|
| LiveSyncTimingHelper::~LiveSyncTimingHelper() {}
|
|
|
| +// static
|
| base::TimeDelta LiveSyncTimingHelper::TimeSyncCycle(
|
| ProfileSyncServiceHarness* client) {
|
| base::Time start = base::Time::Now();
|
| @@ -19,6 +20,7 @@ base::TimeDelta LiveSyncTimingHelper::TimeSyncCycle(
|
| return base::Time::Now() - start;
|
| }
|
|
|
| +// static
|
| base::TimeDelta LiveSyncTimingHelper::TimeMutualSyncCycle(
|
| ProfileSyncServiceHarness* client, ProfileSyncServiceHarness* partner) {
|
| base::Time start = base::Time::Now();
|
| @@ -26,6 +28,7 @@ base::TimeDelta LiveSyncTimingHelper::TimeMutualSyncCycle(
|
| return base::Time::Now() - start;
|
| }
|
|
|
| +// static
|
| base::TimeDelta LiveSyncTimingHelper::TimeUntilQuiescence(
|
| std::vector<ProfileSyncServiceHarness*>& clients) {
|
| base::Time start = base::Time::Now();
|
|
|