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

Unified Diff: chrome/browser/chromeos/cros/network_library.h

Issue 3084027: Clean up code by removing network traffic code in network library.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | « no previous file | chrome/browser/chromeos/cros/network_library.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros/network_library.h
===================================================================
--- chrome/browser/chromeos/cros/network_library.h (revision 55422)
+++ chrome/browser/chromeos/cros/network_library.h (working copy)
@@ -14,7 +14,6 @@
#include "base/singleton.h"
#include "base/string16.h"
#include "base/timer.h"
-#include "net/url_request/url_request_job_tracker.h"
#include "cros/chromeos_network.h"
namespace chromeos {
@@ -229,18 +228,8 @@
public:
class Observer {
public:
- // A bitfield mask for traffic types.
- enum TrafficTypes {
- TRAFFIC_DOWNLOAD = 0x1,
- TRAFFIC_UPLOAD = 0x2,
- } TrafficTypeMasks;
-
// Called when the network has changed. (wifi networks, and ethernet)
virtual void NetworkChanged(NetworkLibrary* obj) = 0;
-
- // Called when network traffic has been detected.
- // Takes a bitfield of TrafficTypeMasks.
- virtual void NetworkTraffic(NetworkLibrary* obj, int traffic_type) = 0;
};
virtual ~NetworkLibrary() {}
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/network_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698