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

Unified Diff: chrome/test/live_sync/live_sync_timing_helper.cc

Issue 7484007: Move sync performance tests into new target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-upload again Created 9 years, 5 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
Index: chrome/test/live_sync/live_sync_timing_helper.cc
diff --git a/chrome/test/live_sync/live_sync_timing_helper.cc b/chrome/test/live_sync/live_sync_timing_helper.cc
deleted file mode 100644
index d910c99c56009273788187ca016b117707baa94e..0000000000000000000000000000000000000000
--- a/chrome/test/live_sync/live_sync_timing_helper.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// 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 "base/time.h"
-#include "chrome/browser/sync/profile_sync_service_harness.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-LiveSyncTimingHelper::LiveSyncTimingHelper() {}
-
-LiveSyncTimingHelper::~LiveSyncTimingHelper() {}
-
-base::TimeDelta LiveSyncTimingHelper::TimeSyncCycle(
- ProfileSyncServiceHarness* client) {
- base::Time start = base::Time::Now();
- EXPECT_TRUE(client->AwaitSyncCycleCompletion("Timing sync cycle."));
- return base::Time::Now() - start;
-}
-
-base::TimeDelta LiveSyncTimingHelper::TimeMutualSyncCycle(
- ProfileSyncServiceHarness* client, ProfileSyncServiceHarness* partner) {
- base::Time start = base::Time::Now();
- EXPECT_TRUE(client->AwaitMutualSyncCycleCompletion(partner));
- return base::Time::Now() - start;
-}
-
-base::TimeDelta LiveSyncTimingHelper::TimeUntilQuiescence(
- std::vector<ProfileSyncServiceHarness*>& clients) {
- base::Time start = base::Time::Now();
- EXPECT_TRUE(ProfileSyncServiceHarness::AwaitQuiescence(clients));
- return base::Time::Now() - start;
-}
« no previous file with comments | « chrome/test/live_sync/live_sync_timing_helper.h ('k') | chrome/test/live_sync/performance/autofill_sync_perf_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698