| Index: chrome/browser/chromeos/drive/drive_file_system_util.cc
|
| diff --git a/chrome/browser/chromeos/drive/drive_file_system_util.cc b/chrome/browser/chromeos/drive/drive_file_system_util.cc
|
| index 3864d7b86b183304ff46909428cf3921d3b87d1d..ace100621d7a0f726736138775cbcb61fc510c15 100644
|
| --- a/chrome/browser/chromeos/drive/drive_file_system_util.cc
|
| +++ b/chrome/browser/chromeos/drive/drive_file_system_util.cc
|
| @@ -441,25 +441,5 @@ DriveFileError GDataToDriveFileError(google_apis::GDataErrorCode status) {
|
| }
|
| }
|
|
|
| -bool IsConnectionTypeCellular() {
|
| - bool is_cellular = false;
|
| - // Use switch, not if, to allow compiler to catch future enum changes.
|
| - // (e.g. Addition of CONNECTION_5G)
|
| - switch (net::NetworkChangeNotifier::GetConnectionType()) {
|
| - case net::NetworkChangeNotifier::CONNECTION_2G:
|
| - case net::NetworkChangeNotifier::CONNECTION_3G:
|
| - case net::NetworkChangeNotifier::CONNECTION_4G:
|
| - is_cellular = true;
|
| - break;
|
| - case net::NetworkChangeNotifier::CONNECTION_UNKNOWN:
|
| - case net::NetworkChangeNotifier::CONNECTION_ETHERNET:
|
| - case net::NetworkChangeNotifier::CONNECTION_WIFI:
|
| - case net::NetworkChangeNotifier::CONNECTION_NONE:
|
| - is_cellular = false;
|
| - break;
|
| - }
|
| - return is_cellular;
|
| -}
|
| -
|
| } // namespace util
|
| } // namespace drive
|
|
|