Index: components/drive/file_system_core_util.h |
diff --git a/chrome/browser/chromeos/drive/file_system_core_util.h b/components/drive/file_system_core_util.h |
similarity index 78% |
rename from chrome/browser/chromeos/drive/file_system_core_util.h |
rename to components/drive/file_system_core_util.h |
index af7375088357ff540b33003bc466a0c09aceddf2..c273cbe605a975142e74354bf72ad6ae92de7050 100644 |
--- a/chrome/browser/chromeos/drive/file_system_core_util.h |
+++ b/components/drive/file_system_core_util.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_ |
-#define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_ |
+#ifndef COMPONENTS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_ |
+#define COMPONENTS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_ |
hashimoto
2015/08/14 00:47:54
nit: How about naming this file components/drive/f
Łukasz Anforowicz
2015/08/14 17:14:45
Done.
Łukasz Anforowicz
2015/08/19 19:12:28
Actually, I need to undo this renaming, because 1)
|
#include <string> |
@@ -42,18 +42,6 @@ const base::FilePath& GetDriveGrandRootPath(); |
// Returns the path of the directory representing "My Drive". |
const base::FilePath& GetDriveMyDriveRootPath(); |
-// Returns the Drive mount point path, which looks like |
-// "/special/drive-<username_hash>", when provided with the |user_id_hash|. |
-base::FilePath GetDriveMountPointPathForUserIdHash(std::string user_id_hash); |
- |
-// Returns true if the given path is under the Drive mount point. |
-bool IsUnderDriveMountPoint(const base::FilePath& path); |
- |
-// Extracts the Drive path from the given path located under the Drive mount |
-// point. Returns an empty path if |path| is not under the Drive mount point. |
-// Examples: ExtractDrivePath("/special/drive-xxx/foo.txt") => "drive/foo.txt" |
-base::FilePath ExtractDrivePath(const base::FilePath& path); |
- |
// Escapes a file name in Drive cache. |
// Replaces percent ('%'), period ('.') and slash ('/') with %XX (hex) |
std::string EscapeCacheFileName(const std::string& filename); |
@@ -99,4 +87,4 @@ std::string ReadResourceIdFromGDocFile(const base::FilePath& file_path); |
} // namespace util |
} // namespace drive |
-#endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_ |
+#endif // COMPONENTS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_ |