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

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

Issue 18344013: fileapi: Rename FileSystemMountProvider to FileSystemBackend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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/media_file_system_backend.h
diff --git a/chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.h b/chrome/browser/media_galleries/fileapi/media_file_system_backend.h
similarity index 87%
rename from chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.h
rename to chrome/browser/media_galleries/fileapi/media_file_system_backend.h
index 45ba5ebbb654aab5b77d4260720ca7a8ba0ee48d..513d92c1742c00d33461c096bb5e71f7c447f771 100644
--- a/chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.h
+++ b/chrome/browser/media_galleries/fileapi/media_file_system_backend.h
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_
-#define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_
+#ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_
+#define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "webkit/browser/fileapi/file_system_mount_point_provider.h"
+#include "webkit/browser/fileapi/file_system_backend.h"
namespace base {
class SequencedTaskRunner;
@@ -23,22 +23,21 @@ class MediaPathFilter;
class DeviceMediaAsyncFileUtil;
-class MediaFileSystemMountPointProvider
- : public fileapi::FileSystemMountPointProvider {
+class MediaFileSystemBackend : public fileapi::FileSystemBackend {
public:
static const char kMediaTaskRunnerName[];
static const char kMediaPathFilterKey[];
static const char kMTPDeviceDelegateURLKey[];
- MediaFileSystemMountPointProvider(
+ MediaFileSystemBackend(
const base::FilePath& profile_path,
base::SequencedTaskRunner* media_task_runner);
- virtual ~MediaFileSystemMountPointProvider();
+ virtual ~MediaFileSystemBackend();
static bool CurrentlyOnMediaTaskRunnerThread();
static scoped_refptr<base::SequencedTaskRunner> MediaTaskRunner();
- // FileSystemMountPointProvider implementation.
+ // FileSystemBackend implementation.
virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE;
virtual void OpenFileSystem(
const GURL& origin_url,
@@ -85,9 +84,9 @@ class MediaFileSystemMountPointProvider
scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_;
#endif // defined(OS_WIN) || defined(OS_MACOSX)
- DISALLOW_COPY_AND_ASSIGN(MediaFileSystemMountPointProvider);
+ DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend);
};
} // namespace chrome
-#endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_MOUNT_POINT_PROVIDER_H_
+#endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_

Powered by Google App Engine
This is Rietveld 408576698