Chromium Code Reviews| Index: chrome/browser/chromeos/gdata/gdata_test_util.h |
| =================================================================== |
| --- chrome/browser/chromeos/gdata/gdata_test_util.h (revision 150627) |
| +++ chrome/browser/chromeos/gdata/gdata_test_util.h (working copy) |
| @@ -9,6 +9,8 @@ |
| #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" |
| #include "chrome/browser/chromeos/gdata/gdata_files.h" |
| +class FilePath; |
| + |
| namespace gdata { |
| class GDataEntryProto; |
| @@ -44,9 +46,15 @@ |
| // Copies |error| to |output|. Used to run asynchronous functions that take |
| // FileOperationCallback from tests. |
| -void CopyErrorCodeFromFileOperationCallback( |
| - GDataFileError* output, GDataFileError error); |
| +void CopyErrorCodeFromFileOperationCallback(GDataFileError* output, |
| + GDataFileError error); |
| +// Copies |error| to |output|. Used to run asynchronous functions that take |
| +// FileMoveCallback from tests. |
| +void CopyErrorCodeFromFileMoveCallback(GDataFileError* output, |
|
satorux1
2012/08/09 00:26:24
I think we should also copy the path. See my comme
achuithb
2012/08/09 01:41:32
Done.
|
| + GDataFileError error, |
| + const FilePath& updated_file_path); |
|
satorux1
2012/08/09 00:26:24
moved_file_path
achuithb
2012/08/09 01:41:32
Replaced here and elsewhere.
|
| + |
| // Copies |error| and |entry_proto| to |out_error| and |out_entry_proto| |
| // respectively. Used to run asynchronous functions that take |
| // GetEntryInfoCallback from tests. |