| OLD | NEW | 
|---|
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "chrome/browser/chromeos/login/oauth_login_manager.h" | 5 #include "chrome/browser/chromeos/login/oauth_login_manager.h" | 
| 6 | 6 | 
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" | 
| 8 #include "chrome/browser/chromeos/login/oauth2_login_manager.h" | 8 #include "chrome/browser/chromeos/login/oauth2_login_manager.h" | 
| 9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" | 
| 10 #include "chrome/browser/signin/token_service.h" | 10 #include "chrome/browser/signin/token_service.h" | 
| 11 #include "chrome/browser/signin/token_service_factory.h" | 11 #include "chrome/browser/signin/token_service_factory.h" | 
| 12 #include "chrome/common/chrome_switches.h" | 12 #include "chrome/common/chrome_switches.h" | 
|  | 13 #include "content/public/browser/browser_thread.h" | 
| 13 | 14 | 
| 14 using content::BrowserThread; | 15 using content::BrowserThread; | 
| 15 | 16 | 
| 16 namespace chromeos { | 17 namespace chromeos { | 
| 17 | 18 | 
| 18 // OAuthLoginManager. | 19 // OAuthLoginManager. | 
| 19 | 20 | 
| 20 // static. | 21 // static. | 
| 21 OAuthLoginManager* OAuthLoginManager::Create( | 22 OAuthLoginManager* OAuthLoginManager::Create( | 
| 22     OAuthLoginManager::Delegate* delegate) { | 23     OAuthLoginManager::Delegate* delegate) { | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
| 35     : delegate_(delegate), | 36     : delegate_(delegate), | 
| 36       user_profile_(NULL), | 37       user_profile_(NULL), | 
| 37       restore_strategy_(RESTORE_FROM_COOKIE_JAR), | 38       restore_strategy_(RESTORE_FROM_COOKIE_JAR), | 
| 38       state_(SESSION_RESTORE_NOT_STARTED) { | 39       state_(SESSION_RESTORE_NOT_STARTED) { | 
| 39 } | 40 } | 
| 40 | 41 | 
| 41 OAuthLoginManager::~OAuthLoginManager() { | 42 OAuthLoginManager::~OAuthLoginManager() { | 
| 42 } | 43 } | 
| 43 | 44 | 
| 44 }  // namespace chromeos | 45 }  // namespace chromeos | 
| OLD | NEW | 
|---|