Searched refs:userhash (Results 1 - 13 of 13) sorted by relevance

/external/chromium_org/chromeos/network/
H A Dnetwork_profile.h23 userhash(user_hash) {
27 std::string userhash; // Only set for user profiles. member in struct:chromeos::NetworkProfile
30 return userhash.empty() ? TYPE_SHARED : TYPE_USER;
H A Dnetwork_profile.cc20 userhash.c_str());
H A Dmanaged_network_configuration_handler.h79 // |callback|. |userhash| is only used to ensure that the user's policy is
82 const std::string& userhash,
101 // policy. The new configuration will be owned by user |userhash|. If
102 // |userhash| is empty, the new configuration will be shared.
104 const std::string& userhash,
122 // device policies, |userhash| must be empty.
124 const std::string& userhash,
127 // Returns the user policy for user |userhash| or device policy, which has
128 // |guid|. If |userhash| is empty, only looks for a device policy. If such
131 const std::string userhash,
[all...]
H A Dnetwork_profile_handler.cc121 // Skip known profiles. The associated userhash should never change.
143 std::string userhash; local
145 &userhash);
147 AddProfile(NetworkProfile(profile_path, userhash));
181 const std::string& userhash) const {
185 if (it->userhash == userhash)
195 if (!it->userhash.empty())
H A Dmanaged_network_configuration_handler.cc71 const std::string& userhash) {
73 ("user policy of " + userhash) : "device policy";
378 const std::string& userhash,
382 if (!GetPoliciesForUser(userhash) || !GetPoliciesForUser(std::string())) {
572 const std::string& userhash,
576 const GuidToPolicyMap* policies = GetPoliciesForUser(userhash);
593 network_profile_handler_->GetProfileForUserhash(userhash);
626 const std::string& userhash,
628 VLOG(1) << "Setting policies from " << ToDebugString(onc_source, userhash)
631 // |userhash| mus
70 ToDebugString(onc::ONCSource source, const std::string& userhash) argument
377 GetManagedProperties( const std::string& userhash, const std::string& service_path, const network_handler::DictionaryResultCallback& callback, const network_handler::ErrorCallback& error_callback) argument
571 CreateConfiguration( const std::string& userhash, const base::DictionaryValue& properties, const network_handler::StringResultCallback& callback, const network_handler::ErrorCallback& error_callback) const argument
624 SetPolicy( onc::ONCSource onc_source, const std::string& userhash, const base::ListValue& network_configs_onc) argument
708 FindPolicyByGUID( const std::string userhash, const std::string& guid, onc::ONCSource* onc_source) const argument
[all...]
H A Dnetwork_profile_handler.h53 const std::string& userhash) const;
55 // Returns the first profile entry with a non-empty userhash.
57 // userhash.
H A Dmanaged_network_configuration_handler_unittest.cc67 const std::string& userhash) {
73 profile_to_user_[profile_path] = userhash;
107 const std::string& userhash = profile_to_user_[profile_path.value()]; local
108 result->SetStringWithoutPathExpansion(shill::kUserHashProperty, userhash);
226 const std::string& userhash,
239 onc::ONC_SOURCE_USER_POLICY, userhash, *network_configs);
66 AddProfile(const std::string& profile_path, const std::string& userhash) argument
225 SetPolicy(onc::ONCSource onc_source, const std::string& userhash, const std::string& path_to_onc) argument
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dnetwork_configuration_updater_impl.cc162 std::string userhash; local
164 userhash = hashed_username_;
170 SetPolicy(onc_source, userhash, network_configs);
/external/chromium_org/chromeos/dbus/
H A Dshill_profile_client.h51 const std::string& userhash) = 0;
H A Dshill_profile_client_stub.h47 const std::string& userhash) OVERRIDE;
H A Dshill_profile_client_stub.cc129 const std::string& userhash) {
135 userhash);
128 AddProfile(const std::string& profile_path, const std::string& userhash) argument
/external/chromium_org/chrome/browser/chromeos/net/
H A Donc_utils.cc156 const chromeos::User* GetLoggedInUserByHash(const std::string& userhash) { argument
161 if ((*it)->username_hash() == userhash)
/external/chromium_org/chrome/browser/extensions/api/networking_private/
H A Dnetworking_private_apitest.cc80 // uses the ProfileHelper to obtain the userhash crbug/238623.
94 std::string userhash; local

Completed in 368 milliseconds