Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / sync_file_system / drive_backend / drive_backend_test_util.h
blob1ec92149cc033400e5eb7df2e91cc2ce69fcb0a2
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 {
13 class FileResource;
14 class ResourceEntry;
17 namespace sync_file_system {
18 namespace drive_backend {
20 class FileDetails;
21 class FileMetadata;
22 class FileTracker;
23 class MetadataDatabase;
24 class ServiceMetadata;
26 namespace test_util {
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_