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

Unified Diff: chrome/browser/chromeos/drive/drive_scheduler.h

Issue 11620007: Switch from OnIPAddressChanged and OnConnectionTypeChange to OnNetworkChanged Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
Index: chrome/browser/chromeos/drive/drive_scheduler.h
diff --git a/chrome/browser/chromeos/drive/drive_scheduler.h b/chrome/browser/chromeos/drive/drive_scheduler.h
index 895f00e034aa2686ffd969bd3da14dc47200a9d3..a632a90443111add4d743e1db7ee3f9b775072d9 100644
--- a/chrome/browser/chromeos/drive/drive_scheduler.h
+++ b/chrome/browser/chromeos/drive/drive_scheduler.h
@@ -24,7 +24,7 @@ namespace drive {
// TODO(zork): Provide an interface for querying the number of jobs, and state
// of each. See: crbug.com/154243
class DriveScheduler
- : public net::NetworkChangeNotifier::ConnectionTypeObserver {
+ : public net::NetworkChangeNotifier::NetworkChangeObserver {
public:
// Enum representing the type of job.
@@ -302,8 +302,8 @@ class DriveScheduler
google_apis::GDataErrorCode error,
const FilePath& temp_file);
- // net::NetworkChangeNotifier::ConnectionTypeObserver override.
- virtual void OnConnectionTypeChanged(
+ // net::NetworkChangeNotifier::NetworkChangeObserver override.
+ virtual void OnNetworkChanged(
net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
// For testing only. Disables throttling so that testing is faster.

Powered by Google App Engine
This is Rietveld 408576698