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_ |