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

Unified Diff: chrome/browser/chromeos/drive/drive_file_system.h

Issue 14328038: Remove DriveFileSystem::LoadIfNeeded(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_file_system.h
diff --git a/chrome/browser/chromeos/drive/drive_file_system.h b/chrome/browser/chromeos/drive/drive_file_system.h
index 32a17715e37ee3145f5b2b6f101890d23d8a3625..ea74e61e6fabd33193ebc6a187977e093ef60785 100644
--- a/chrome/browser/chromeos/drive/drive_file_system.h
+++ b/chrome/browser/chromeos/drive/drive_file_system.h
@@ -11,7 +11,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
-#include "chrome/browser/chromeos/drive/change_list_loader.h"
#include "chrome/browser/chromeos/drive/change_list_loader_observer.h"
#include "chrome/browser/chromeos/drive/drive_file_system_interface.h"
#include "chrome/browser/chromeos/drive/drive_file_system_util.h"
@@ -37,18 +36,12 @@ namespace drive {
class DriveCacheEntry;
class DriveFileSystemObserver;
-class DriveFunctionRemove;
class DriveResourceMetadata;
class DriveScheduler;
class DriveWebAppsRegistry;
+class ChangeList;
class ChangeListLoader;
-namespace file_system {
-class CopyOperation;
-class MoveOperation;
-class RemoveOperation;
-}
-
// The production implementation of DriveFileSystemInterface.
class DriveFileSystem : public DriveFileSystemInterface,
public ChangeListLoaderObserver,
@@ -380,12 +373,6 @@ class DriveFileSystem : public DriveFileSystemInterface,
DriveFileError error,
const base::FilePath& cache_file);
- // Loads the file system from the cache or the server via change lists if
- // the file system is not yet loaded. Runs |callback| upon the completion
- // with the error code. |callback| must not be null.
- void LoadIfNeeded(const DirectoryFetchInfo& directory_fetch_info,
- const FileOperationCallback& callback);
-
// Part of GetEntryInfoByResourceId(). Called after
// DriveResourceMetadata::GetEntryInfoByResourceId() is complete.
// |callback| must not be null.
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698