| Index: chrome/browser/chromeos/drive/drive_scheduler.cc
|
| diff --git a/chrome/browser/chromeos/drive/drive_scheduler.cc b/chrome/browser/chromeos/drive/drive_scheduler.cc
|
| index bbf055c4d368446437f380574c973e20c784d2fc..db932f7c0bbea481b330263efa4731b901043da5 100644
|
| --- a/chrome/browser/chromeos/drive/drive_scheduler.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_scheduler.cc
|
| @@ -8,7 +8,6 @@
|
|
|
| #include "base/message_loop.h"
|
| #include "base/rand_util.h"
|
| -#include "chrome/browser/chromeos/drive/drive_file_system_util.h"
|
| #include "chrome/browser/chromeos/drive/file_system/drive_operations.h"
|
| #include "chrome/browser/chromeos/drive/file_system/remove_operation.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| @@ -160,7 +159,8 @@ bool DriveScheduler::ShouldStopJobLoop() {
|
| // 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(
|
| + net::NetworkChangeNotifier::GetConnectionType()))
|
| return true;
|
|
|
| return false;
|
|
|