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

Unified Diff: webkit/fileapi/media/mtp_device_map_service.cc

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « webkit/fileapi/media/mtp_device_map_service.h ('k') | webkit/fileapi/media/native_media_file_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/media/mtp_device_map_service.cc
diff --git a/webkit/fileapi/media/mtp_device_map_service.cc b/webkit/fileapi/media/mtp_device_map_service.cc
index 73160687d8c056a20083c191519cda8c1f132f70..758a913e817b8325448b558ef2b318137abc632d 100644
--- a/webkit/fileapi/media/mtp_device_map_service.cc
+++ b/webkit/fileapi/media/mtp_device_map_service.cc
@@ -26,7 +26,7 @@ MTPDeviceMapService* MTPDeviceMapService::GetInstance() {
}
void MTPDeviceMapService::AddDelegate(
- const FilePath::StringType& device_location,
+ const base::FilePath::StringType& device_location,
MTPDeviceDelegate* delegate) {
DCHECK(delegate);
DCHECK(!device_location.empty());
@@ -38,7 +38,7 @@ void MTPDeviceMapService::AddDelegate(
}
void MTPDeviceMapService::RemoveDelegate(
- const FilePath::StringType& device_location) {
+ const base::FilePath::StringType& device_location) {
base::AutoLock lock(lock_);
DelegateMap::iterator it = delegate_map_.find(device_location);
DCHECK(it != delegate_map_.end());
@@ -48,13 +48,13 @@ void MTPDeviceMapService::RemoveDelegate(
MTPDeviceDelegate* MTPDeviceMapService::GetMTPDeviceDelegate(
const std::string& filesystem_id) {
- FilePath device_path;
+ base::FilePath device_path;
if (!IsolatedContext::GetInstance()->GetRegisteredPath(filesystem_id,
&device_path)) {
return NULL;
}
- const FilePath::StringType& device_location = device_path.value();
+ const base::FilePath::StringType& device_location = device_path.value();
DCHECK(!device_location.empty());
base::AutoLock lock(lock_);
« no previous file with comments | « webkit/fileapi/media/mtp_device_map_service.h ('k') | webkit/fileapi/media/native_media_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698