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

Side by Side Diff: chrome/browser/chromeos/login/cryptohome_op.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/cryptohome_op.h" 5 #include "chrome/browser/chromeos/login/cryptohome_op.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "chrome/browser/chromeos/boot_times_loader.h" 10 #include "chrome/browser/chromeos/boot_times_loader.h"
11 #include "chrome/browser/chromeos/cros/cros_library.h" 11 #include "chrome/browser/chromeos/cros/cros_library.h"
12 #include "chrome/browser/chromeos/cros/cryptohome_library.h" 12 #include "chrome/browser/chromeos/cros/cryptohome_library.h"
13 #include "chrome/browser/chromeos/login/auth_attempt_state.h" 13 #include "chrome/browser/chromeos/login/auth_attempt_state.h"
14 #include "chrome/browser/chromeos/login/auth_attempt_state_resolver.h" 14 #include "chrome/browser/chromeos/login/auth_attempt_state_resolver.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 16
17 using content::BrowserThread;
18
17 namespace chromeos { 19 namespace chromeos {
18 20
19 CryptohomeOp::CryptohomeOp(AuthAttemptState* current_attempt, 21 CryptohomeOp::CryptohomeOp(AuthAttemptState* current_attempt,
20 AuthAttemptStateResolver* callback) 22 AuthAttemptStateResolver* callback)
21 : attempt_(current_attempt), 23 : attempt_(current_attempt),
22 resolver_(callback) { 24 resolver_(callback) {
23 CHECK(chromeos::CrosLibrary::Get()->EnsureLoaded()); 25 CHECK(chromeos::CrosLibrary::Get()->EnsureLoaded());
24 } 26 }
25 27
26 CryptohomeOp::~CryptohomeOp() {} 28 CryptohomeOp::~CryptohomeOp() {}
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 189
188 // static 190 // static
189 CryptohomeOp* CryptohomeOp::CreateCheckKeyAttempt( 191 CryptohomeOp* CryptohomeOp::CreateCheckKeyAttempt(
190 AuthAttemptState* current_attempt, 192 AuthAttemptState* current_attempt,
191 AuthAttemptStateResolver* callback) { 193 AuthAttemptStateResolver* callback) {
192 194
193 return new CheckKeyAttempt(current_attempt, callback); 195 return new CheckKeyAttempt(current_attempt, callback);
194 } 196 }
195 197
196 } // namespace chromeos 198 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/cookie_fetcher_unittest.cc ('k') | chrome/browser/chromeos/login/cryptohome_op_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698