Chromium Code Reviews| 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 4d1f8629797351f806981088c57cfe9a957a9ae4..accb08f06510924a3e75f4673a8c3f676b6e6c8c 100644 |
| --- a/chrome/browser/chromeos/drive/drive_sync_client.cc |
| +++ b/chrome/browser/chromeos/drive/drive_sync_client.cc |
| @@ -12,7 +12,6 @@ |
| #include "chrome/browser/api/prefs/pref_change_registrar.h" |
| #include "chrome/browser/chromeos/drive/drive.pb.h" |
| #include "chrome/browser/chromeos/drive/drive_file_system_interface.h" |
| -#include "chrome/browser/chromeos/drive/drive_file_system_util.h" |
| #include "chrome/browser/prefs/pref_service.h" |
| #include "chrome/browser/profiles/profile.h" |
| #include "chrome/common/pref_names.h" |
| @@ -195,7 +194,7 @@ bool DriveSyncClient::ShouldStopSyncLoop() { |
| // Should stop if the current connection is on cellular network, and |
| // fetching is disabled over cellular. |
| if (profile_->GetPrefs()->GetBoolean(prefs::kDisableGDataOverCellular) && |
| - util::IsConnectionTypeCellular()) |
| + net::NetworkChangeNotifier::IsConnectionCellular()) |
|
pauljensen
2012/10/22 14:05:07
How does this build? I thought you got rid of thi
droger
2012/10/22 15:11:32
Oops, I forgot to update this call, thanks.
Fixed
|
| return true; |
| return false; |