| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "chrome/browser/chromeos/gdata/gdata_directory_service.h" | 9 #include "chrome/browser/chromeos/gdata/drive_resource_metadata.h" |
| 10 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" | 10 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" |
| 11 | 11 |
| 12 class FilePath; | 12 class FilePath; |
| 13 | 13 |
| 14 namespace gdata { | 14 namespace gdata { |
| 15 | 15 |
| 16 class DriveCacheEntry; | 16 class DriveCacheEntry; |
| 17 class DriveEntryProto; | 17 class DriveEntryProto; |
| 18 | 18 |
| 19 typedef std::vector<DriveEntryProto> DriveEntryProtoVector; | 19 typedef std::vector<DriveEntryProto> DriveEntryProtoVector; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 // Copies |result| to |out_result|. Used to run asynchronous functions | 91 // Copies |result| to |out_result|. Used to run asynchronous functions |
| 92 // that take GetEntryInfoPairCallback from tests. | 92 // that take GetEntryInfoPairCallback from tests. |
| 93 void CopyResultsFromGetEntryInfoPairCallback( | 93 void CopyResultsFromGetEntryInfoPairCallback( |
| 94 scoped_ptr<EntryInfoPairResult>* out_result, | 94 scoped_ptr<EntryInfoPairResult>* out_result, |
| 95 scoped_ptr<EntryInfoPairResult> result); | 95 scoped_ptr<EntryInfoPairResult> result); |
| 96 | 96 |
| 97 } // namespace test_util | 97 } // namespace test_util |
| 98 } // namespace gdata | 98 } // namespace gdata |
| 99 | 99 |
| 100 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_ | 100 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_ |
| OLD | NEW |