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

Unified Diff: chrome/browser/chromeos/drive/file_system_util.cc

Issue 118953003: drive: Stop setting dummy resource ID for "drive" and "other" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/chromeos/drive/file_system_util.cc
diff --git a/chrome/browser/chromeos/drive/file_system_util.cc b/chrome/browser/chromeos/drive/file_system_util.cc
index aae3cdfd7fef39ceb5d7e81b4daa0ba074b75e45..d5398712a069e0521466fd013f255d9039d4ddf5 100644
--- a/chrome/browser/chromeos/drive/file_system_util.cc
+++ b/chrome/browser/chromeos/drive/file_system_util.cc
@@ -166,11 +166,6 @@ DriveServiceInterface* GetDriveServiceByProfile(Profile* profile) {
return integration_service ? integration_service->drive_service() : NULL;
}
-bool IsSpecialResourceId(const std::string& resource_id) {
- return resource_id == kDriveGrandRootLocalId ||
- resource_id == kDriveOtherDirLocalId;
-}
-
ResourceEntry CreateMyDriveRootEntry(const std::string& root_resource_id) {
ResourceEntry mydrive_root;
mydrive_root.mutable_file_info()->set_is_directory(true);
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_util.h ('k') | chrome/browser/chromeos/drive/file_system_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698