// Copyright (c) 2012 The Chromium Authors. All rights reserved. // 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_MEDIA_FILE_SYSTEM_CONTEXT_H_ #define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_CONTEXT_H_ // Manages isolated filesystem namespaces for media file systems. #include namespace base { class FilePath; } class MediaFileSystemRegistry; class MediaFileSystemContext { public: virtual ~MediaFileSystemContext() {} // Register a new media file system for |path| and return the corresponding // filesystem ID. virtual std::string RegisterFileSystem( const std::string& device_id, const base::FilePath& path) = 0; // Revoke the passed |fsid|. virtual void RevokeFileSystem(const std::string& fsid) = 0; }; #endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_FILE_SYSTEM_CONTEXT_H_