OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/signin/chrome_signin_client.h" | 5 #include "chrome/browser/signin/chrome_signin_client.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 g_browser_process->profile_manager() | 467 g_browser_process->profile_manager() |
468 ->GetProfileAttributesStorage() | 468 ->GetProfileAttributesStorage() |
469 .GetProfileAttributesWithPath(profile_->GetPath(), &entry); | 469 .GetProfileAttributesWithPath(profile_->GetPath(), &entry); |
470 if (!has_entry) | 470 if (!has_entry) |
471 return; | 471 return; |
472 entry->LockForceSigninProfile(true); | 472 entry->LockForceSigninProfile(true); |
473 } | 473 } |
474 | 474 |
475 void ChromeSigninClient::ShowUserManager(const base::FilePath& profile_path) { | 475 void ChromeSigninClient::ShowUserManager(const base::FilePath& profile_path) { |
476 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) | 476 #if !defined(OS_ANDROID) && !defined(OS_CHROMEOS) |
477 UserManager::Show(profile_path, profiles::USER_MANAGER_NO_TUTORIAL, | 477 UserManager::Show(profile_path, |
478 profiles::USER_MANAGER_SELECT_PROFILE_NO_ACTION); | 478 profiles::USER_MANAGER_SELECT_PROFILE_NO_ACTION); |
479 #endif | 479 #endif |
480 } | 480 } |
OLD | NEW |