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

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

Issue 7376001: Move sync performance tests into new target (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: 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.h
diff --git a/chrome/test/live_sync/live_sync_timing_helper.h b/chrome/test/live_sync/live_sync_timing_helper.h
deleted file mode 100644
index 4f439719513780699d1eef14753b73f0a9a82164..0000000000000000000000000000000000000000
--- a/chrome/test/live_sync/live_sync_timing_helper.h
+++ /dev/null
@@ -1,41 +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.
-
-#ifndef CHROME_TEST_LIVE_SYNC_LIVE_SYNC_TIMING_HELPER_H_
-#define CHROME_TEST_LIVE_SYNC_LIVE_SYNC_TIMING_HELPER_H_
-#pragma once
-
-#include "base/basictypes.h"
-
-#include <vector>
-
-namespace base {
-class TimeDelta;
-}
-
-class ProfileSyncServiceHarness;
-
-class LiveSyncTimingHelper {
- public:
- LiveSyncTimingHelper();
- ~LiveSyncTimingHelper();
-
- // Returns the time taken for |client| to complete a single sync cycle.
- static base::TimeDelta TimeSyncCycle(ProfileSyncServiceHarness* client);
-
- // Returns the time taken for both |client| and |partner| to complete a sync
- // cycle.
- static base::TimeDelta TimeMutualSyncCycle(
- ProfileSyncServiceHarness* client, ProfileSyncServiceHarness* partner);
-
- // Returns the time taken for all clients in |clients| to complete their
- // respective sync cycles.
- static base::TimeDelta TimeUntilQuiescence(
- std::vector<ProfileSyncServiceHarness*>& clients);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(LiveSyncTimingHelper);
-};
-
-#endif // CHROME_TEST_LIVE_SYNC_LIVE_SYNC_TIMING_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698