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

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

Issue 14755002: drive: Drop "Drive" from FakeDriveFileSystem and MockDriveFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: some more cleanup Created 7 years, 8 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 1260904318f3e879f51223dae5e1166777a86679..e556a030f82bab895804419e8fbb5ef36dc712a4 100644
--- a/chrome/browser/chromeos/drive/file_system_util.cc
+++ b/chrome/browser/chromeos/drive/file_system_util.cc
@@ -49,7 +49,7 @@ const int kReadOnlyFilePermissions = base::PLATFORM_FILE_OPEN |
base::PLATFORM_FILE_EXCLUSIVE_READ |
base::PLATFORM_FILE_ASYNC;
-DriveFileSystemInterface* GetDriveFileSystem(Profile* profile) {
+DriveFileSystemInterface* GetFileSystem(Profile* profile) {
DriveSystemService* system_service =
DriveSystemServiceFactory::GetForProfile(profile);
return system_service ? system_service->file_system() : NULL;
@@ -150,7 +150,7 @@ void MaybeSetDriveURL(Profile* profile, const base::FilePath& path, GURL* url) {
if (!IsUnderDriveMountPoint(path))
return;
- DriveFileSystemInterface* file_system = GetDriveFileSystem(profile);
+ DriveFileSystemInterface* file_system = GetFileSystem(profile);
if (!file_system)
return;
@@ -312,7 +312,7 @@ void EnsureDirectoryExists(Profile* profile,
BrowserThread::CurrentlyOn(BrowserThread::IO));
DCHECK(!callback.is_null());
if (IsUnderDriveMountPoint(directory)) {
- DriveFileSystemInterface* file_system = GetDriveFileSystem(profile);
+ DriveFileSystemInterface* file_system = GetFileSystem(profile);
DCHECK(file_system);
file_system->CreateDirectory(
ExtractDrivePath(directory),
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_proxy.cc ('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