token_service.cc revision c407dc5cd9bdc5668497f21b26b09d988ab439de
1// Copyright (c) 2010 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "chrome/browser/net/gaia/token_service.h" 6 7void TokenService::SetClientLoginResult( 8 const GaiaAuthConsumer::ClientLoginResult& credentials) { 9 credentials_ = credentials; 10} 11 12bool TokenService::HasLsid() { 13 return !credentials_.lsid.empty(); 14} 15 16const std::string& TokenService::GetLsid() { 17 return credentials_.lsid; 18} 19