Chromium Code Reviews| Index: chrome/browser/chromeos/gdata/gdata_sync_client.h |
| diff --git a/chrome/browser/chromeos/gdata/gdata_sync_client.h b/chrome/browser/chromeos/gdata/gdata_sync_client.h |
| index 46a77b1606329d102b36d943fdadfde38ac89424..610170140e1a8f47d98f2024157e8ba32c18bfe9 100644 |
| --- a/chrome/browser/chromeos/gdata/gdata_sync_client.h |
| +++ b/chrome/browser/chromeos/gdata/gdata_sync_client.h |
| @@ -62,7 +62,8 @@ class GDataSyncClient |
| // |file_system| is used access the |
| // cache (ex. store a file to the cache when the file is downloaded). |
| GDataSyncClient(Profile* profile, |
| - GDataFileSystemInterface* file_system); |
| + GDataFileSystemInterface* file_system, |
|
achuithb
2012/06/11 21:58:10
Why not just pass in GDataSystemService* and have
hashimoto
2012/06/12 02:00:18
I thought doing so will introduce unnecessary depe
hashimoto
2012/06/12 06:20:12
I thought this was a good thing to do, but I began
|
| + GDataCache* cache); |
| virtual ~GDataSyncClient(); |
| // GDataSyncClientInterface overrides. |
| @@ -127,7 +128,8 @@ class GDataSyncClient |
| const content::NotificationSource& source, |
| const content::NotificationDetails& details) OVERRIDE; |
| Profile* profile_; |
| - GDataFileSystemInterface* file_system_; |
| + GDataFileSystemInterface* file_system_; // Owned by GDataSystemService. |
| + GDataCache* cache_; // Owned by GDataSystemService. |
| scoped_ptr<PrefChangeRegistrar> registrar_; |
| // The queue of resource IDs used to fetch pinned-but-not-fetched files in |