Index: chrome/browser/chromeos/drive/drive_sync_client.h |
diff --git a/chrome/browser/chromeos/drive/drive_sync_client.h b/chrome/browser/chromeos/drive/drive_sync_client.h |
index 435e072412864b9e5cecd81ea842f81e03bdd4d3..9077e0ef3df489051aa371dcfc89edd03dcf501d 100644 |
--- a/chrome/browser/chromeos/drive/drive_sync_client.h |
+++ b/chrome/browser/chromeos/drive/drive_sync_client.h |
@@ -5,27 +5,21 @@ |
#ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYNC_CLIENT_H_ |
#define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYNC_CLIENT_H_ |
-#include <deque> |
+#include <set> |
#include <string> |
#include <vector> |
-#include "base/callback_forward.h" |
#include "base/memory/weak_ptr.h" |
#include "base/time.h" |
#include "chrome/browser/chromeos/drive/drive_cache.h" |
hashimoto
2013/04/19 03:43:22
Can't this include be replaced with forward declar
kinaba
2013/04/19 03:51:44
Done.
|
#include "chrome/browser/chromeos/drive/drive_cache_observer.h" |
#include "chrome/browser/chromeos/drive/drive_file_system_observer.h" |
#include "chrome/browser/chromeos/drive/drive_resource_metadata.h" |
-#include "net/base/network_change_notifier.h" |
- |
-class Profile; |
-class PrefChangeRegistrar; |
namespace drive { |
class DriveEntryProto; |
class DriveFileSystemInterface; |
-class DrivePrefetcher; |
// The DriveSyncClient is used to synchronize pinned files on Drive and the |
// cache on the local drive. The sync client works as follows. |
@@ -50,11 +44,9 @@ class DriveSyncClient |
UPLOAD, // Upload a file to the Drive server. |
}; |
- // |profile| is used to access user preferences. |
// |file_system| is used access the |
// cache (ex. store a file to the cache when the file is downloaded). |
- DriveSyncClient(Profile* profile, |
- DriveFileSystemInterface* file_system, |
+ DriveSyncClient(DriveFileSystemInterface* file_system, |
DriveCache* cache); |
virtual ~DriveSyncClient(); |
@@ -150,7 +142,6 @@ class DriveSyncClient |
void OnUploadFileComplete(const std::string& resource_id, |
DriveFileError error); |
- Profile* profile_; |
DriveFileSystemInterface* file_system_; // Owned by DriveSystemService. |
DriveCache* cache_; // Owned by DriveSystemService. |