| 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..9632da12c45ea93b08317274cbfe5b457af6abbe 100644
|
| --- a/chrome/browser/chromeos/drive/drive_scheduler.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_scheduler.cc
|
| @@ -8,13 +8,13 @@
|
|
|
| #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"
|
| #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;
|
|
|
| @@ -160,7 +160,7 @@ 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())
|
| return true;
|
|
|
| return false;
|
|
|