Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9324)

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.h

Issue 881723002: Remove google_apis::ResourceEntry and related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.h
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.h b/chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.h
index 478c1472d1c712084b92335053b5b8e3505a1b6c..1fb26967ae46ee43e7dbb48010ef8f842ba263bd 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.h
+++ b/chrome/browser/sync_file_system/drive_backend/drive_backend_test_util.h
@@ -43,6 +43,15 @@ scoped_ptr<FileTracker> CreatePlaceholderTracker(
int64 tracker_id,
const FileTracker* parent_tracker);
+// The return value type of GetFileResourceKind().
+enum FileResourceKind {
+ RESOURCE_KIND_FILE,
+ RESOURCE_KIND_FOLDER,
+};
+
+// Returns the kind of the given FileResourceKind.
+FileResourceKind GetFileResourceKind(const google_apis::FileResource& resource);
+
} // namespace test_util
} // namespace drive_backend
} // namespace sync_file_system

Powered by Google App Engine
This is Rietveld 408576698