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

Unified Diff: chrome/browser/sync/managed_user_signin_manager_wrapper.h

Issue 335273005: Rename "managed (mode|user)" to "supervised user" (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/managed_user_signin_manager_wrapper.h
diff --git a/chrome/browser/sync/managed_user_signin_manager_wrapper.h b/chrome/browser/sync/managed_user_signin_manager_wrapper.h
deleted file mode 100644
index 059d0fe35be8754f11a701f32dce4b4fdb0186ab..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/managed_user_signin_manager_wrapper.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_SYNC_MANAGED_USER_SIGNIN_MANAGER_WRAPPER_H_
-#define CHROME_BROWSER_SYNC_MANAGED_USER_SIGNIN_MANAGER_WRAPPER_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-
-class Profile;
-class SigninManagerBase;
-
-// Some chrome cloud services support managed users as well as normally
-// authenticated users that sign in through SigninManager. To facilitate
-// getting the "effective" username and account identifiers, services can
-// use this class to wrap the SigninManager and return managed user account
-// information when appropriate.
-class ManagedUserSigninManagerWrapper {
- public:
- ManagedUserSigninManagerWrapper(Profile* profile,
- SigninManagerBase* original);
- virtual ~ManagedUserSigninManagerWrapper();
-
- virtual std::string GetEffectiveUsername() const;
- virtual std::string GetAccountIdToUse() const;
-
- virtual std::string GetSyncScopeToUse() const;
-
- SigninManagerBase* GetOriginal();
-
- private:
- Profile* profile_;
- SigninManagerBase* original_;
- DISALLOW_COPY_AND_ASSIGN(ManagedUserSigninManagerWrapper);
-};
-
-#endif // CHROME_BROWSER_SYNC_MANAGED_USER_SIGNIN_MANAGER_WRAPPER_H_
« no previous file with comments | « chrome/browser/sync/backup_rollback_controller_unittest.cc ('k') | chrome/browser/sync/managed_user_signin_manager_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698