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

Unified Diff: components/sync_driver/signin_manager_wrapper.cc

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
« no previous file with comments | « components/sync_driver/signin_manager_wrapper.h ('k') | components/sync_driver/startup_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/signin_manager_wrapper.cc
diff --git a/components/sync_driver/signin_manager_wrapper.cc b/components/sync_driver/signin_manager_wrapper.cc
deleted file mode 100644
index 4468027c3af05e96625031a9c019af85f089b599..0000000000000000000000000000000000000000
--- a/components/sync_driver/signin_manager_wrapper.cc
+++ /dev/null
@@ -1,29 +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.
-
-#include "components/sync_driver/signin_manager_wrapper.h"
-
-#include "components/signin/core/browser/signin_manager_base.h"
-#include "google_apis/gaia/gaia_constants.h"
-
-SigninManagerWrapper::SigninManagerWrapper(SigninManagerBase* original)
- : original_(original) {}
-
-SigninManagerWrapper::~SigninManagerWrapper() {}
-
-SigninManagerBase* SigninManagerWrapper::GetOriginal() {
- return original_;
-}
-
-std::string SigninManagerWrapper::GetEffectiveUsername() const {
- return original_->GetAuthenticatedAccountInfo().email;
-}
-
-std::string SigninManagerWrapper::GetAccountIdToUse() const {
- return original_->GetAuthenticatedAccountId();
-}
-
-std::string SigninManagerWrapper::GetSyncScopeToUse() const {
- return GaiaConstants::kChromeSyncOAuth2Scope;
-}
« no previous file with comments | « components/sync_driver/signin_manager_wrapper.h ('k') | components/sync_driver/startup_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698