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

Unified Diff: chrome/browser/chromeos/extensions/file_handler_util.cc

Issue 11106007: drive: Rename 'gdata' namespace to 'drive' in chrome/browser/chromeos/drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/extensions/file_handler_util.cc
diff --git a/chrome/browser/chromeos/extensions/file_handler_util.cc b/chrome/browser/chromeos/extensions/file_handler_util.cc
index 48fd8cb95ae9778636735748c2b34bfb82a5b4d1..147a919a9113116d4aa06759cf99a27c180a72f8 100644
--- a/chrome/browser/chromeos/extensions/file_handler_util.cc
+++ b/chrome/browser/chromeos/extensions/file_handler_util.cc
@@ -572,7 +572,7 @@ FileTaskExecutor* FileTaskExecutor::Create(Profile* profile,
action_id);
if (task_type == kTaskDrive)
- return new gdata::DriveTaskExecutor(profile,
+ return new drive::DriveTaskExecutor(profile,
extension_id, // really app_id
action_id);
@@ -737,7 +737,7 @@ class ExtensionTaskExecutor::ExecuteTasksFileSystemCallbackDispatcher {
FilePath virtual_path = url.virtual_path();
bool is_drive_file = url.type() == fileapi::kFileSystemTypeDrive;
- DCHECK(!is_drive_file || gdata::util::IsUnderDriveMountPoint(local_path));
+ DCHECK(!is_drive_file || drive::util::IsUnderDriveMountPoint(local_path));
// If the file is under gdata mount point, there is no actual file to be
// found on the url.path().
@@ -980,7 +980,7 @@ void ExtensionTaskExecutor::InitHandlerHostFileAccessPermissions(
GetAccessPermissionsForFileBrowserHandler(handler_extension,
action_id_)));
- if (gdata::util::IsUnderDriveMountPoint(iter->absolute_path))
+ if (drive::util::IsUnderDriveMountPoint(iter->absolute_path))
gdata_paths->push_back(iter->virtual_path);
}
@@ -992,7 +992,7 @@ void ExtensionTaskExecutor::InitHandlerHostFileAccessPermissions(
// For files on gdata mount point, we'll have to give handler host permissions
// for their cache paths. This has to be called on UI thread.
- gdata::util::InsertDriveCachePathsPermissions(profile(),
+ drive::util::InsertDriveCachePathsPermissions(profile(),
gdata_paths.Pass(),
&handler_host_permissions_,
callback);

Powered by Google App Engine
This is Rietveld 408576698