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

Unified Diff: chrome/browser/media_galleries/fileapi/mtp_device_map_service.h

Issue 14247034: Move Media Galleries FileAPI code out of webkit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cr-14352004
Patch Set: Add android ifdef. 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/media_galleries/fileapi/mtp_device_map_service.h
diff --git a/webkit/fileapi/media/mtp_device_map_service.h b/chrome/browser/media_galleries/fileapi/mtp_device_map_service.h
similarity index 89%
rename from webkit/fileapi/media/mtp_device_map_service.h
rename to chrome/browser/media_galleries/fileapi/mtp_device_map_service.h
index de24ee2b11475f369b9362266498c8e510a6446b..18b974f51625f7332a701753ef2e0d879688d448 100644
--- a/webkit/fileapi/media/mtp_device_map_service.h
+++ b/chrome/browser/media_galleries/fileapi/mtp_device_map_service.h
@@ -2,24 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_MAP_SERVICE_H_
-#define WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_MAP_SERVICE_H_
+#ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_MAP_SERVICE_H_
+#define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_MAP_SERVICE_H_
#include <map>
#include "base/files/file_path.h"
#include "base/lazy_instance.h"
#include "base/threading/thread_checker.h"
-#include "webkit/storage/webkit_storage_export.h"
-namespace fileapi {
+namespace chrome {
class MTPDeviceAsyncDelegate;
// This class provides media transfer protocol (MTP) device delegate to
// complete media file system operations. ScopedMTPDeviceMapEntry class
// manages the device map entries.
-class WEBKIT_STORAGE_EXPORT MTPDeviceMapService {
+class MTPDeviceMapService {
public:
static MTPDeviceMapService* GetInstance();
@@ -67,6 +66,6 @@ class WEBKIT_STORAGE_EXPORT MTPDeviceMapService {
DISALLOW_COPY_AND_ASSIGN(MTPDeviceMapService);
};
-} // namespace fileapi
+} // namespace chrome
-#endif // WEBKIT_FILEAPI_MEDIA_MTP_DEVICE_MAP_SERVICE_H_
+#endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_MAP_SERVICE_H_

Powered by Google App Engine
This is Rietveld 408576698