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

Unified Diff: components/sync_driver/signin_manager_wrapper.h

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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: components/sync_driver/signin_manager_wrapper.h
diff --git a/components/sync_driver/signin_manager_wrapper.h b/components/sync_driver/signin_manager_wrapper.h
deleted file mode 100644
index cb1398dcadd7528b496c399cfaf2f759b1dcd7ac..0000000000000000000000000000000000000000
--- a/components/sync_driver/signin_manager_wrapper.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2015 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 COMPONENTS_SYNC_DRIVER_SIGNIN_MANAGER_WRAPPER_H_
-#define COMPONENTS_SYNC_DRIVER_SIGNIN_MANAGER_WRAPPER_H_
-
-#include <string>
-
-#include "base/macros.h"
-
-class SigninManagerBase;
-
-// Wraps SigninManager so subclasses can support different ways of getting
-// account information if necessary. Currently exists for supervised users;
-// the subclass SupervisedUserSigninManagerWrapper may be merged back into
-// this class once supervised users are componentized.
-class SigninManagerWrapper {
- public:
- explicit SigninManagerWrapper(SigninManagerBase* original);
- virtual ~SigninManagerWrapper();
-
- // Get the email address to use for this account.
- virtual std::string GetEffectiveUsername() const;
-
- // Get the unique ID used to represent this account.
- virtual std::string GetAccountIdToUse() const;
-
- // Get the OAuth2 scope to use for this account.
- virtual std::string GetSyncScopeToUse() const;
-
- // Return the original SigninManagerBase object that was passed in.
- SigninManagerBase* GetOriginal();
-
- private:
- SigninManagerBase* original_;
-
- DISALLOW_COPY_AND_ASSIGN(SigninManagerWrapper);
-};
-
-#endif // COMPONENTS_SYNC_DRIVER_SIGNIN_MANAGER_WRAPPER_H_
« no previous file with comments | « components/sync_driver/shared_change_processor_unittest.cc ('k') | components/sync_driver/signin_manager_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698