Chromium Code Reviews| Index: chrome/browser/chromeos/gdata/gdata_file_system.h |
| diff --git a/chrome/browser/chromeos/gdata/gdata_file_system.h b/chrome/browser/chromeos/gdata/gdata_file_system.h |
| index c668a8f622b614e03e3d3930eab2b5971408390f..a06a08a90ce9928cf6ccf26a9c57dc227f349d82 100644 |
| --- a/chrome/browser/chromeos/gdata/gdata_file_system.h |
| +++ b/chrome/browser/chromeos/gdata/gdata_file_system.h |
| @@ -326,21 +326,9 @@ class GDataFileSystemInterface { |
| const std::string& resource_id, |
| const GetFileCallback& callback) = 0; |
| - // Obtains the list of currently active operations. |
| - virtual std::vector<GDataOperationRegistry::ProgressStatus> |
| - GetProgressStatusList() = 0; |
| - |
| - // Cancels ongoing operation for a given |file_path|. Returns true if |
| - // the operation was found and canceled. |
| - virtual bool CancelOperation(const FilePath& file_path) = 0; |
| - |
| - // Add operation observer. |
| - virtual void AddOperationObserver( |
| - GDataOperationRegistry::Observer* observer) = 0; |
| - |
| - // Remove operation observer. |
| - virtual void RemoveOperationObserver( |
| - GDataOperationRegistry::Observer* observer) = 0; |
| + // Gets the operation registry that manage all operations performed through |
|
achuithb
2012/04/24 00:16:22
manages
satorux1
2012/04/24 06:15:25
Done.
|
| + // the GDataFileSystem object. |
| + virtual GDataOperationRegistry* GetOperationRegistry() = 0; |
| // Gets the cache state of file corresponding to |resource_id| and |md5| if it |
| // exists on disk. |
| @@ -428,13 +416,7 @@ class GDataFileSystem : public GDataFileSystemInterface, |
| virtual void GetFileByResourceId( |
| const std::string& resource_id, |
| const GetFileCallback& callback) OVERRIDE; |
| - virtual std::vector<GDataOperationRegistry::ProgressStatus> |
| - GetProgressStatusList() OVERRIDE; |
| - virtual bool CancelOperation(const FilePath& file_path) OVERRIDE; |
| - virtual void AddOperationObserver( |
| - GDataOperationRegistry::Observer* observer) OVERRIDE; |
| - virtual void RemoveOperationObserver( |
| - GDataOperationRegistry::Observer* observer) OVERRIDE; |
| + virtual GDataOperationRegistry* GetOperationRegistry() OVERRIDE; |
| virtual void GetCacheState(const std::string& resource_id, |
| const std::string& md5, |
| const GetCacheStateCallback& callback) OVERRIDE; |