1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_DATATYPE_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_DATATYPE_HELPER_H_
7 
8 
9 class SyncTest;
10 
11 namespace sync_datatype_helper {
12 
13 // Associates an instance of SyncTest with sync_datatype_helper. Must be
14 // called before any of the methods in the per-datatype helper namespaces can be
15 // used.
16 void AssociateWithTest(SyncTest* test);
17 
18 // Returns a pointer to the instance of SyncTest associated with the
19 // per-datatype helpers after making sure it is valid.
20 SyncTest* test();
21 
22 }  // namespace sync_datatype_helper
23 
24 #endif  // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_DATATYPE_HELPER_H_
25