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

Side by Side Diff: chrome/browser/signin/chrome_signin_client.cc

Issue 2899083003: Delete unused tutorial code from profile switcher/user manager. (Closed)
Patch Set: fix merge Created 3 years, 6 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 unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_window_browsertest.cc ('k') | chrome/browser/ui/app_list/app_list_service_disabled.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698