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

Unified Diff: chrome/browser/sync/test/integration/sync_datatype_helper.h

Issue 7841007: Rename browser/sync/test/live_sync directory to browser/sync/test/integration (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 years, 3 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/browser/sync/test/integration/sync_datatype_helper.h
diff --git a/chrome/browser/sync/test/integration/sync_datatype_helper.h b/chrome/browser/sync/test/integration/sync_datatype_helper.h
new file mode 100644
index 0000000000000000000000000000000000000000..70cd0ade91f4d0f854a09336b2f88ff920f2e929
--- /dev/null
+++ b/chrome/browser/sync/test/integration/sync_datatype_helper.h
@@ -0,0 +1,26 @@
+// 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_BROWSER_SYNC_TEST_INTEGRATION_SYNC_DATATYPE_HELPER_H_
+#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_DATATYPE_HELPER_H_
+#pragma once
+
+#include "base/basictypes.h"
+
+class SyncTest;
+
+namespace sync_datatype_helper {
+
+// Associates an instance of SyncTest with sync_datatype_helper. Must be
+// called before any of the methods in the per-datatype helper namespaces can be
+// used.
+void AssociateWithTest(SyncTest* test);
+
+// Returns a pointer to the instance of SyncTest associated with the
+// per-datatype helpers after making sure it is valid.
+SyncTest* test();
+
+} // namespace sync_datatype_helper
+
+#endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_DATATYPE_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698