Searched defs:username (Results 176 - 200 of 429) sorted by relevance

1234567891011>>

/external/chromium/chrome/browser/policy/
H A Dcloud_policy_controller.cc26 // Checks the domain part of the given username against the list of known
27 // non-managed domain names. Returns false if |username| is empty or
29 static bool CanBeInManagedDomain(const std::string& username) { argument
30 if (username.empty()) {
36 if (EndsWith(username, kNonManagedDomains[i], true)) {
231 std::string username; local
238 if (identity_strategy_->GetCredentials(&username, &auth_token) &&
239 CanBeInManagedDomain(username)) {
H A Duser_policy_identity_strategy.cc185 bool UserPolicyIdentityStrategy::GetCredentials(std::string* username, argument
187 *username = GetCurrentUser();
191 return !username->empty() && !auth_token->empty() && !device_id_.empty();
/external/chromium/chrome/browser/sync/
H A Dprofile_sync_service_harness.cc90 const std::string& username,
98 username_(username),
118 void ProfileSyncServiceHarness::SetCredentials(const std::string& username, argument
120 username_ = username;
88 ProfileSyncServiceHarness( Profile* profile, const std::string& username, const std::string& password, int id) argument
H A Dsync_setup_flow.cc227 void SyncSetupFlow::OnUserSubmittedAuth(const std::string& username, argument
231 service_->OnUserSubmittedAuth(username, password, captcha, access_code);
/external/chromium/chrome/browser/ui/login/
H A Dlogin_prompt_browsertest.cc41 AuthInfo(const std::wstring username, argument
43 : username_(username), password_(password) {}
H A Dlogin_prompt_ui.cc34 dict.SetString("username",
131 void ShowAutofillData(const std::wstring& username,
169 virtual void OnAutofillDataAvailable(const std::wstring& username, argument
172 delegate_->ShowAutofillData(username, password);
207 string16 username; local
210 if (!res->GetString("username", &username) ||
214 login_handler_->SetAuth(username, password);
221 void LoginHandlerHtmlDelegate::ShowAutofillData(const std::wstring& username, argument
223 autofill_username_ = WideToUTF8(username);
[all...]
/external/chromium/chrome/browser/ui/webui/options/
H A Dsync_setup_handler.cc40 std::string* username,
49 if (!result->GetString("user", username) ||
377 std::string username, password, captcha, access_code;
378 if (!GetAuthData(json, &username, &password, &captcha, &access_code)) {
386 flow_->OnUserSubmittedAuth(username, password, captcha, access_code);
39 GetAuthData(const std::string& json, std::string* username, std::string* password, std::string* captcha, std::string* access_code) argument
/external/chromium/chrome/common/net/gaia/
H A Dgaia_authenticator.cc366 void GaiaAuthenticator::SetUsernamePassword(const string& username, argument
370 auth_results_.email = username;
373 void GaiaAuthenticator::SetUsername(const string& username) { argument
375 auth_results_.email = username;
/external/chromium/googleurl/src/
H A Dgurl_unittest.cc79 EXPECT_EQ("user", url.username());
95 EXPECT_EQ("", url.username());
113 EXPECT_EQ("user", url2.username());
128 EXPECT_EQ("", invalid2.username());
145 EXPECT_EQ("", url.username());
235 const char* username; member in struct:ReplaceCase
257 SetupReplacement(&GURL::Replacements::SetUsername, &repl, cur.username);
H A Durl_canon_etc.cc168 // The username and password components reference ranges in the corresponding
174 const url_parse::Component& username,
180 if (username.len <= 0 && password.len <= 0) {
181 // Common case: no user info. We strip empty username/passwords.
187 // Write the username.
189 if (username.len > 0) {
190 // This will escape characters not valid for the username.
191 AppendStringOfType(&username_spec[username.begin], username.len,
336 const url_parse::Component& username,
173 DoUserInfo(const CHAR* username_spec, const url_parse::Component& username, const CHAR* password_spec, const url_parse::Component& password, CanonOutput* output, url_parse::Component* out_username, url_parse::Component* out_password) argument
335 CanonicalizeUserInfo(const char* username_source, const url_parse::Component& username, const char* password_source, const url_parse::Component& password, CanonOutput* output, url_parse::Component* out_username, url_parse::Component* out_password) argument
347 CanonicalizeUserInfo(const char16* username_source, const url_parse::Component& username, const char16* password_source, const url_parse::Component& password, CanonOutput* output, url_parse::Component* out_username, url_parse::Component* out_password) argument
[all...]
H A Durl_parse_unittest.cc78 const char* username; member in struct:__anon2928::URLParseCase
339 EXPECT_TRUE(ComponentMatches(url, cases[i].username, parsed.username));
376 ExpectInvalidComponent(parsed.username);
430 EXPECT_TRUE(ComponentMatches(url, file_cases[i].username, parsed.username));
578 ExpectInvalidComponent(parsed.username);
/external/chromium/net/base/
H A Dcert_database_nss.cc67 std::string username, ca_name; local
71 username = temp_username;
78 nickname = username + "'s " + ca_name + " ID";
/external/chromium/net/http/
H A Dhttp_auth.h74 // http://<username>:<password>@host:port
106 string16 username; member in struct:net::HttpAuth::Identity
H A Dhttp_auth_handler_digest.cc139 const string16* username,
154 *username,
318 const string16& username,
324 std::string ha1 = MD5String(UTF16ToUTF8(username) + ":" + realm_ + ":" +
344 const string16& username,
352 std::string authorization = (std::string("Digest username=") +
353 HttpUtil::Quote(UTF16ToUTF8(username)));
361 std::string response = AssembleResponseDigest(method, path, username,
138 GenerateAuthTokenImpl( const string16* username, const string16* password, const HttpRequestInfo* request, CompletionCallback* callback, std::string* auth_token) argument
315 AssembleResponseDigest( const std::string& method, const std::string& path, const string16& username, const string16& password, const std::string& cnonce, const std::string& nc) const argument
341 AssembleCredentials( const std::string& method, const std::string& path, const string16& username, const string16& password, const std::string& cnonce, int nonce_count) const argument
H A Dhttp_auth_handler_negotiate.cc186 // GSSAPI does not provide a way to enter username/password to
204 const string16* username,
210 DCHECK((username == NULL) == (password == NULL));
214 DCHECK((!has_username_and_password_ && username == NULL) ||
215 (has_username_and_password_ && *username == username_ &&
220 if (username) {
222 username_ = *username;
311 string16* username = has_username_and_password_ ? &username_ : NULL; local
314 return auth_system_.GenerateAuthToken(username, password, spn_, auth_token_);
203 GenerateAuthTokenImpl( const string16* username, const string16* password, const HttpRequestInfo* request, CompletionCallback* callback, std::string* auth_token) argument
H A Dhttp_auth_sspi_win.cc69 // Pass the username/password to get the credentials handle.
88 // Pass the username/password to get the credentials handle.
253 int HttpAuthSSPI::GenerateAuthToken(const string16* username, argument
257 DCHECK((username == NULL) == (password == NULL));
261 int rv = OnFirstRound(username, password);
293 int HttpAuthSSPI::OnFirstRound(const string16* username, argument
295 DCHECK((username == NULL) == (password == NULL));
298 if (username) {
301 SplitDomainAndUser(*username, &domain, &user);
H A Dhttp_stream_factory_impl_request.cc187 const string16& username,
190 return bound_job_->RestartTunnelWithProxyAuth(username, password);
186 RestartTunnelWithProxyAuth( const string16& username, const string16& password) argument
/external/chromium/net/websockets/
H A Dwebsocket_job.cc139 const string16& username,
142 socket_->RestartWithAuth(username, password);
138 RestartWithAuth( const string16& username, const string16& password) argument
/external/chromium/third_party/libjingle/source/talk/base/
H A Dsocketadapters.cc253 const std::string& username,
256 user_(username), pass_(password), force_connect_(false), state_(PS_ERROR),
519 const std::string& username,
522 user_(username), pass_(password) {
250 AsyncHttpsProxySocket(AsyncSocket* socket, const std::string& user_agent, const SocketAddress& proxy, const std::string& username, const CryptString& password) argument
517 AsyncSocksProxySocket(AsyncSocket* socket, const SocketAddress& proxy, const std::string& username, const CryptString& password) argument
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Drelayserver.h48 // All connections created with the same username/password are bound together.
117 std::string* username, StunMessage* msg);
199 RelayServer* server, const std::string& username,
205 const std::string& username() { return username_; } function in class:cricket::RelayServerBinding
/external/chromium/third_party/libjingle/source/talk/p2p/client/
H A Dbasicportallocator.h173 std::string username; member in struct:cricket::PortConfiguration
188 const std::string& username,
H A Dhttpportallocator.cc214 std::string username = map["username"]; local
224 username,
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/
H A DSigninManager.java121 // that this account can't have management enabled based on the username.
237 * This method clears the signed-in username, stops sync and sends out a
309 private native boolean nativeShouldLoadPolicyForUser(String username); argument
311 int nativeSigninManagerAndroid, String username);
313 private native void nativeOnSignInCompleted(int nativeSigninManagerAndroid, String username); argument
310 nativeCheckPolicyBeforeSignIn( int nativeSigninManagerAndroid, String username) argument
/external/chromium_org/chrome/browser/chromeos/
H A Dchrome_browser_main_chromeos.cc142 // Class is used to login using passed username and password.
147 StubLogin(std::string username, std::string password) argument
153 UserContext(username,
548 std::string username = local
554 user_manager->UserLoggedIn(username, username_hash, true);
555 VLOG(1) << "Relaunching browser for user: " << username
/external/chromium_org/chrome/browser/chromeos/login/
H A Dexisting_user_controller_browsertest.cc75 ACTION_P2(CreateAuthenticator, username, password) {
76 return new MockAuthenticator(arg0, username, password);
427 void ExpectSuccessfulLogin(const std::string& username, argument
433 .WillOnce(WithArg<0>(CreateAuthenticator(username, password)));
435 PrepareProfile(UserContext(username, password, "", username),
444 EXPECT_CALL(*mock_login_display_, OnLoginSuccess(username))
467 void SetAutoLoginPolicy(const std::string& username, int delay) { argument
480 proto.device_local_accounts().auto_login_id() != username) {
493 proto.mutable_device_local_accounts()->set_auto_login_id(username);
[all...]

Completed in 416 milliseconds

1234567891011>>