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

Side by Side Diff: chrome/browser/chromeos/login/auth/extended_authenticator.cc

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 years, 7 months 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/extended_authenticator.h" 5 #include "chrome/browser/chromeos/login/auth/extended_authenticator.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "chrome/browser/chromeos/boot_times_loader.h" 10 #include "chrome/browser/chromeos/boot_times_loader.h"
11 #include "chrome/browser/chromeos/login/login_status_consumer.h" 11 #include "chrome/browser/chromeos/login/auth/login_status_consumer.h"
12 #include "chrome/browser/chromeos/login/parallel_authenticator.h" 12 #include "chrome/browser/chromeos/login/auth/parallel_authenticator.h"
13 #include "chromeos/cryptohome/async_method_caller.h" 13 #include "chromeos/cryptohome/async_method_caller.h"
14 #include "chromeos/cryptohome/cryptohome_parameters.h" 14 #include "chromeos/cryptohome/cryptohome_parameters.h"
15 #include "chromeos/cryptohome/homedir_methods.h" 15 #include "chromeos/cryptohome/homedir_methods.h"
16 #include "chromeos/cryptohome/system_salt_getter.h" 16 #include "chromeos/cryptohome/system_salt_getter.h"
17 #include "chromeos/dbus/cryptohome_client.h" 17 #include "chromeos/dbus/cryptohome_client.h"
18 #include "chromeos/dbus/dbus_thread_manager.h" 18 #include "chromeos/dbus/dbus_thread_manager.h"
19 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
20 #include "crypto/sha2.h" 20 #include "crypto/sha2.h"
21 #include "google_apis/gaia/gaia_auth_util.h" 21 #include "google_apis/gaia/gaia_auth_util.h"
22 #include "third_party/cros_system_api/dbus/service_constants.h" 22 #include "third_party/cros_system_api/dbus/service_constants.h"
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 std::string hash = 397 std::string hash =
398 ParallelAuthenticator::HashPassword(password, system_salt); 398 ParallelAuthenticator::HashPassword(password, system_salt);
399 callback.Run(hash); 399 callback.Run(hash);
400 return; 400 return;
401 } 401 }
402 hashing_queue_.push_back(base::Bind( 402 hashing_queue_.push_back(base::Bind(
403 &ExtendedAuthenticator::DoHashWithSalt, this, password, callback)); 403 &ExtendedAuthenticator::DoHashWithSalt, this, password, callback));
404 } 404 }
405 405
406 } // namespace chromeos 406 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/auth/extended_authenticator.h ('k') | chrome/browser/chromeos/login/auth/login_performer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698