OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/auth_attempt_state.h" | 5 #include "chrome/browser/chromeos/login/auth/auth_attempt_state.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "content/public/browser/browser_thread.h" | 9 #include "content/public/browser/browser_thread.h" |
10 #include "google_apis/gaia/gaia_auth_consumer.h" | 10 #include "google_apis/gaia/gaia_auth_consumer.h" |
11 #include "google_apis/gaia/gaia_auth_fetcher.h" | 11 #include "google_apis/gaia/gaia_auth_fetcher.h" |
12 | 12 |
13 using content::BrowserThread; | 13 using content::BrowserThread; |
14 | 14 |
15 namespace chromeos { | 15 namespace chromeos { |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 155 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
156 return username_hash_obtained_; | 156 return username_hash_obtained_; |
157 } | 157 } |
158 | 158 |
159 bool AuthAttemptState::username_hash_valid() { | 159 bool AuthAttemptState::username_hash_valid() { |
160 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 160 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
161 return username_hash_obtained_; | 161 return username_hash_obtained_; |
162 } | 162 } |
163 | 163 |
164 } // namespace chromeos | 164 } // namespace chromeos |
OLD | NEW |