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

Side by Side Diff: chromeos/network/network_state_handler_observer.h

Issue 1022333002: Initial CL for Data Saver (Flywheel) prompt when cellular network detected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from two reviewers Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ 5 #ifndef CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_
6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ 6 #define CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // One or more properties of |device| have been updated. 48 // One or more properties of |device| have been updated.
49 virtual void DevicePropertiesUpdated(const DeviceState* device); 49 virtual void DevicePropertiesUpdated(const DeviceState* device);
50 50
51 // A scan for |device| completed. 51 // A scan for |device| completed.
52 virtual void ScanCompleted(const DeviceState* device); 52 virtual void ScanCompleted(const DeviceState* device);
53 53
54 // Called just before NetworkStateHandler is destroyed so that observers 54 // Called just before NetworkStateHandler is destroyed so that observers
55 // can safely stop observing. 55 // can safely stop observing.
56 virtual void IsShuttingDown(); 56 virtual void IsShuttingDown();
57 57
58 // Fake network path, used to indicate that NotifyNetworkPropertiesUpdated was
Daniel Erat 2015/03/24 20:42:25 nit: please move this to the top of the 'public' s
Greg Levin 2015/04/03 18:28:37 Removed.
59 // generated by a debugging hotkey.
60 static const char kDebugDataSaverNetworkPath[];
stevenjb 2015/03/25 17:57:08 This definitely doesn't belong in this file. If th
Greg Levin 2015/04/03 18:28:37 Removed.
61
58 private: 62 private:
59 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver); 63 DISALLOW_COPY_AND_ASSIGN(NetworkStateHandlerObserver);
60 }; 64 };
61 65
62 } // namespace chromeos 66 } // namespace chromeos
63 67
64 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_ 68 #endif // CHROMEOS_NETWORK_NETWORK_STATE_HANDLER_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698