| 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/gdata_errorcode.h" | 10 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" |
| 10 #include "chrome/browser/chromeos/gdata/gdata_files.h" | |
| 11 | 11 |
| 12 class FilePath; | 12 class FilePath; |
| 13 | 13 |
| 14 namespace gdata { | 14 namespace gdata { |
| 15 | 15 |
| 16 class GDataEntryProto; | 16 class GDataEntryProto; |
| 17 class GDataCacheEntry; | 17 class GDataCacheEntry; |
| 18 | 18 |
| 19 namespace test_util { | 19 namespace test_util { |
| 20 | 20 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // Copies |result| |out_result|. Used to run asynchronous functions that take | 77 // Copies |result| |out_result|. Used to run asynchronous functions that take |
| 78 // GetEntryInfoPairCallback from tests. | 78 // GetEntryInfoPairCallback from tests. |
| 79 void CopyResultsFromGetEntryInfoPairCallback( | 79 void CopyResultsFromGetEntryInfoPairCallback( |
| 80 scoped_ptr<EntryInfoPairResult>* out_result, | 80 scoped_ptr<EntryInfoPairResult>* out_result, |
| 81 scoped_ptr<EntryInfoPairResult> result); | 81 scoped_ptr<EntryInfoPairResult> result); |
| 82 | 82 |
| 83 } // namespace test_util | 83 } // namespace test_util |
| 84 } // namespace gdata | 84 } // namespace gdata |
| 85 | 85 |
| 86 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_ | 86 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_TEST_UTIL_H_ |
| OLD | NEW |