| Index: chrome/browser/chromeos/gdata/gdata_test_util.h
|
| diff --git a/chrome/browser/chromeos/gdata/gdata_test_util.h b/chrome/browser/chromeos/gdata/gdata_test_util.h
|
| index 01ad8d4165e3fb98f1afce3de82b67f8455a7755..38c721e72886546c80367383f398fc89f91f3653 100644
|
| --- a/chrome/browser/chromeos/gdata/gdata_test_util.h
|
| +++ b/chrome/browser/chromeos/gdata/gdata_test_util.h
|
| @@ -11,10 +11,15 @@
|
|
|
| class FilePath;
|
|
|
| +namespace base {
|
| +class Value;
|
| +}
|
| +
|
| namespace gdata {
|
|
|
| class DriveCacheEntry;
|
| class DriveEntryProto;
|
| +class DriveFileSystem;
|
|
|
| typedef std::vector<DriveEntryProto> DriveEntryProtoVector;
|
|
|
| @@ -94,6 +99,19 @@ void CopyResultsFromGetEntryInfoPairCallback(
|
| scoped_ptr<EntryInfoPairResult>* out_result,
|
| scoped_ptr<EntryInfoPairResult> result);
|
|
|
| +// Returns the absolute path for a test file stored under
|
| +// chrome/test/data/chromeos/gdata.
|
| +FilePath GetTestFilePath(const FilePath::StringType& base_name);
|
| +
|
| +// Loads a test JSON file as a base::Value.
|
| +base::Value* LoadJSONFile(const std::string& base_name);
|
| +
|
| +// Loads a test json file as root ("/drive") element.
|
| +void LoadChangeFeed(const std::string& filename,
|
| + DriveFileSystem* file_system,
|
| + int64 start_changestamp,
|
| + int64 root_feed_changestamp);
|
| +
|
| } // namespace test_util
|
| } // namespace gdata
|
|
|
|
|