| 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..c1f4d67ece3982acad4a510a315dcdff9fb50c99 100644
|
| --- a/chrome/browser/chromeos/drive/drive_sync_client.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_sync_client.cc
|
| @@ -12,11 +12,11 @@
|
| #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"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "net/base/network_change_notifier.h"
|
|
|
| using content::BrowserThread;
|
|
|
| @@ -195,7 +195,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())
|
| return true;
|
|
|
| return false;
|
|
|