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

Side by Side Diff: trunk/src/chrome/browser/managed_mode/managed_user_signin_manager_wrapper.cc

Issue 163983005: Revert 250967 "Revert of [sync]: add ManagedUserSigninManagerWra..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
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/managed_mode/managed_user_signin_manager_wrapper.h" 5 #include "chrome/browser/managed_mode/managed_user_signin_manager_wrapper.h"
6 6
7 #include "chrome/browser/profiles/profile.h" 7 #include "chrome/browser/profiles/profile.h"
8 #include "chrome/browser/signin/signin_manager_base.h" 8 #include "chrome/browser/signin/signin_manager_base.h"
9 9
10 #if defined(ENABLE_MANAGED_USERS) 10 #if defined(ENABLE_MANAGED_USERS)
(...skipping 28 matching lines...) Expand all
39 if (original_->profile()->IsManaged()) { 39 if (original_->profile()->IsManaged()) {
40 #if defined(ENABLE_MANAGED_USERS) 40 #if defined(ENABLE_MANAGED_USERS)
41 return managed_users::kManagedUserPseudoEmail; 41 return managed_users::kManagedUserPseudoEmail;
42 #else 42 #else
43 NOTREACHED(); 43 NOTREACHED();
44 #endif 44 #endif
45 } 45 }
46 46
47 return original_->GetAuthenticatedAccountId(); 47 return original_->GetAuthenticatedAccountId();
48 } 48 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698