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

Side by Side Diff: chrome/browser/chromeos/login/fake_supervised_user_manager.cc

Issue 132803012: Attempt to recover sync token for managed user once we detected that sync auth fails. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix usage of metrics 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/chromeos/login/fake_supervised_user_manager.h" 5 #include "chrome/browser/chromeos/login/fake_supervised_user_manager.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 namespace chromeos { 9 namespace chromeos {
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 std::string FakeSupervisedUserManager::GetManagerDisplayEmail( 53 std::string FakeSupervisedUserManager::GetManagerDisplayEmail(
54 const std::string& managed_user_id) const { 54 const std::string& managed_user_id) const {
55 return std::string(); 55 return std::string();
56 } 56 }
57 57
58 SupervisedUserAuthentication* FakeSupervisedUserManager::GetAuthentication() { 58 SupervisedUserAuthentication* FakeSupervisedUserManager::GetAuthentication() {
59 return NULL; 59 return NULL;
60 } 60 }
61 61
62 void FakeSupervisedUserManager::LoadSupervisedUserToken(
63 Profile * profile,
64 const LoadTokenCallback& callback) {
65 callback.Run("token");
66 }
67
62 } // namespace chromeos 68 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698