Chromium Code Reviews| Index: chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc |
| diff --git a/webkit/fileapi/media/mtp_device_map_service.cc b/chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc |
| similarity index 87% |
| rename from webkit/fileapi/media/mtp_device_map_service.cc |
| rename to chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc |
| index a4c4bea0a7c0231ee8186d6034dddb43b6fb6caf..9390d091e2a449f66ba5e14c33787cdb751e2207 100644 |
| --- a/webkit/fileapi/media/mtp_device_map_service.cc |
| +++ b/chrome/browser/media_galleries/fileapi/mtp_device_map_service.cc |
| @@ -2,16 +2,16 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "webkit/fileapi/media/mtp_device_map_service.h" |
| +#include "chrome/browser/media_galleries/fileapi/mtp_device_map_service.h" |
| #include <string> |
| #include <utility> |
| #include "base/stl_util.h" |
| +#include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" |
| #include "webkit/fileapi/isolated_context.h" |
| -#include "webkit/fileapi/media/mtp_device_async_delegate.h" |
| -namespace fileapi { |
| +namespace chrome { |
| namespace { |
| @@ -52,8 +52,8 @@ MTPDeviceAsyncDelegate* MTPDeviceMapService::GetMTPDeviceAsyncDelegate( |
| const std::string& filesystem_id) { |
| DCHECK(thread_checker_.CalledOnValidThread()); |
| base::FilePath device_path; |
| - if (!IsolatedContext::GetInstance()->GetRegisteredPath(filesystem_id, |
| - &device_path)) { |
| + if (!fileapi::IsolatedContext::GetInstance()->GetRegisteredPath( |
| + filesystem_id, &device_path)) { |
|
vandebo (ex-Chrome)
2013/04/22 22:32:28
nit: four more spaces.
tommycli
2013/04/22 23:45:31
Done.
|
| return NULL; |
| } |
| @@ -70,4 +70,4 @@ MTPDeviceMapService::MTPDeviceMapService() { |
| MTPDeviceMapService::~MTPDeviceMapService() {} |
| -} // namespace fileapi |
| +} // namespace chrome |