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

Unified Diff: chrome/browser/chromeos/net/onc_utils.h

Issue 22796014: Eliminate c/b/chromeos/options/network_connect.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + fix clang Created 7 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
Index: chrome/browser/chromeos/net/onc_utils.h
diff --git a/chrome/browser/chromeos/net/onc_utils.h b/chrome/browser/chromeos/net/onc_utils.h
index c2242a1db47d4f9fa0385c593956e689064699a5..4abc4d5da4f8eeb7c862bcae46a5e0d721a322a2 100644
--- a/chrome/browser/chromeos/net/onc_utils.h
+++ b/chrome/browser/chromeos/net/onc_utils.h
@@ -16,6 +16,9 @@ class ListValue;
}
namespace chromeos {
+
+class NetworkState;
+
namespace onc {
// Translates |onc_proxy_settings|, which has to be a valid ONC ProxySettings
@@ -39,6 +42,12 @@ void ImportNetworksForUser(const std::string& hashed_username,
const base::ListValue& network_configs,
std::string* error);
+// Looks up the policy for |guid| for the current active user and sets
+// |onc_source| accordingly.
+const base::DictionaryValue* FindPolicyForActiveUser(
+ const std::string& guid,
+ onc::ONCSource* onc_source);
+
} // namespace onc
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698