Simplify netowork library mock expectations

BUG=chromium-os:9707
TEST=Run browser_tests

From chromium-os:9707:

Currently CrosMock::SetNetworkLibraryStatusAreaExpectations() sets up a host of very specific expectations. These are fragile and difficult to maintain, and they break pretty much every browser test when they become stale.

TODO: Replace these with a minimal set of specific expectations (e.g. just set expectations for *_connected() and *_connecting() calls).

Review URL: http://codereview.chromium.org/5402001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68038 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/chromeos/cros/network_library.h b/chrome/browser/chromeos/cros/network_library.h
index d562e2b..566201b 100644
--- a/chrome/browser/chromeos/cros/network_library.h
+++ b/chrome/browser/chromeos/cros/network_library.h
@@ -504,17 +504,17 @@
       CellularDataPlanObserver* observer) = 0;
 
   // Return the active Ethernet network (or a default structure if inactive).
-  virtual EthernetNetwork* ethernet_network() = 0;
+  virtual const EthernetNetwork* ethernet_network() const = 0;
   virtual bool ethernet_connecting() const = 0;
   virtual bool ethernet_connected() const = 0;
 
   // Return the active Wifi network (or a default structure if none active).
-  virtual WifiNetwork* wifi_network() = 0;
+  virtual const WifiNetwork* wifi_network() const = 0;
   virtual bool wifi_connecting() const = 0;
   virtual bool wifi_connected() const = 0;
 
   // Return the active Cellular network (or a default structure if none active).
-  virtual CellularNetwork* cellular_network() = 0;
+  virtual const CellularNetwork* cellular_network() const = 0;
   virtual bool cellular_connecting() const = 0;
   virtual bool cellular_connected() const = 0;