Index: chrome/browser/chromeos/arc/arc_auth_service_impl.cc |
diff --git a/chrome/browser/chromeos/arc/arc_auth_service_impl.cc b/chrome/browser/chromeos/arc/arc_auth_service_impl.cc |
index 88174ff2f133d145b308ae8c8bd0281f73f7a922..c634c78cc2088b60637fe0fadf2658daf4d321f2 100644 |
--- a/chrome/browser/chromeos/arc/arc_auth_service_impl.cc |
+++ b/chrome/browser/chromeos/arc/arc_auth_service_impl.cc |
@@ -4,7 +4,8 @@ |
#include "chrome/browser/chromeos/arc/arc_auth_service_impl.h" |
-#include <utility> |
+#include "components/arc/arc_service_manager.h" |
+#include "components/arc/opt_in/arc_opt_in_manager.h" |
namespace arc { |
@@ -25,8 +26,8 @@ void ArcAuthServiceImpl::OnAuthInstanceReady() { |
} |
void ArcAuthServiceImpl::GetAuthCode(const GetAuthCodeCallback& callback) { |
- // TODO(victorhsieh): request auth code from LSO (crbug.com/571146). |
- callback.Run(mojo::String("fake auth code from ArcAuthService in Chrome")); |
+ callback.Run(mojo::String( |
+ ArcServiceManager::Get()->arc_opt_in_manager()->GetAuthToken())); |
} |
} // namespace arc |