Index: chrome/browser/chromeos/drive/drive_sync_client.cc |
diff --git a/chrome/browser/chromeos/drive/drive_sync_client.cc b/chrome/browser/chromeos/drive/drive_sync_client.cc |
index f04c1998b0214298196deed64d0c293d712bfd79..7c00e73ca68cd2287ca82d045302da33f8b629f8 100644 |
--- a/chrome/browser/chromeos/drive/drive_sync_client.cc |
+++ b/chrome/browser/chromeos/drive/drive_sync_client.cc |
@@ -4,17 +4,12 @@ |
#include "chrome/browser/chromeos/drive/drive_sync_client.h" |
-#include <algorithm> |
#include <vector> |
#include "base/bind.h" |
#include "base/message_loop_proxy.h" |
-#include "base/prefs/pref_change_registrar.h" |
-#include "base/prefs/pref_service.h" |
#include "chrome/browser/chromeos/drive/drive.pb.h" |
#include "chrome/browser/chromeos/drive/drive_file_system_interface.h" |
-#include "chrome/browser/profiles/profile.h" |
-#include "chrome/common/pref_names.h" |
#include "content/public/browser/browser_thread.h" |
using content::BrowserThread; |
@@ -58,11 +53,9 @@ void CollectBacklog(std::vector<std::string>* to_fetch, |
} // namespace |
-DriveSyncClient::DriveSyncClient(Profile* profile, |
- DriveFileSystemInterface* file_system, |
+DriveSyncClient::DriveSyncClient(DriveFileSystemInterface* file_system, |
DriveCache* cache) |
- : profile_(profile), |
- file_system_(file_system), |
+ : file_system_(file_system), |
cache_(cache), |
delay_(base::TimeDelta::FromSeconds(kDelaySeconds)), |
ALLOW_THIS_IN_INITIALIZER_LIST(weak_ptr_factory_(this)) { |