Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(689)

Unified Diff: chrome/browser/chromeos/drive/drive_sync_client.cc

Issue 11115009: Helper functions in NetworkChangeNotifier related to WWAN use (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compilation Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/drive/drive_scheduler.cc ('k') | net/base/network_change_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « chrome/browser/chromeos/drive/drive_scheduler.cc ('k') | net/base/network_change_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698