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

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

Issue 11578052: Replace OncNetworkParser by the new ONC translator. (Closed) Base URL: http://git.chromium.org/chromium/src.git@extend_onc_to_shill
Patch Set: Rebased. 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/cros/network_library_impl_stub.h
diff --git a/chrome/browser/chromeos/cros/network_library_impl_stub.h b/chrome/browser/chromeos/cros/network_library_impl_stub.h
index f2ac2d32a80269cf4ff52c86e9e8b2824e8418a1..5bb10e93450f83935e568bba787ec824cde504f4 100644
--- a/chrome/browser/chromeos/cros/network_library_impl_stub.h
+++ b/chrome/browser/chromeos/cros/network_library_impl_stub.h
@@ -93,6 +93,11 @@ class NetworkLibraryImplStub : public NetworkLibraryImplBase {
const std::string& service_path,
const NetworkServicePropertiesCallback& callback) OVERRIDE;
+ // For testing only:
+ // Returns the configurations applied in LoadOncNetworks. The key is the
+ // network's service path which is mapped to the Shill dictionary.
+ const std::map<std::string, base::DictionaryValue*>& GetConfigurations();
+
private:
void AddStubNetwork(Network* network, NetworkProfileType profile_type);
void AddStubRememberedNetwork(Network* network);
@@ -113,6 +118,7 @@ class NetworkLibraryImplStub : public NetworkLibraryImplBase {
WifiNetworkVector disabled_wifi_networks_;
CellularNetworkVector disabled_cellular_networks_;
WimaxNetworkVector disabled_wimax_networks_;
+ std::map<std::string, base::DictionaryValue*> service_configurations_;
DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImplStub);
};
« no previous file with comments | « chrome/browser/chromeos/cros/network_library_impl_base.cc ('k') | chrome/browser/chromeos/cros/network_library_impl_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698