1 // Copyright 2013 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.
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_TEST_UTIL_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_TEST_UTIL_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/sync_file_system/sync_status_code.h"
10 #include "google_apis/drive/gdata_errorcode.h"
12 namespace google_apis
{
17 namespace sync_file_system
{
18 namespace drive_backend
{
23 class MetadataDatabase
;
24 class ServiceMetadata
;
28 void ExpectEquivalentServiceMetadata(const ServiceMetadata
& left
,
29 const ServiceMetadata
& right
);
30 void ExpectEquivalentDetails(const FileDetails
& left
, const FileDetails
& right
);
31 void ExpectEquivalentMetadata(const FileMetadata
& left
,
32 const FileMetadata
& right
);
33 void ExpectEquivalentTrackers(const FileTracker
& left
,
34 const FileTracker
& right
);
36 } // namespace test_util
37 } // namespace drive_backend
38 } // namespace sync_file_system
40 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_TEST_UTIL_H_