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

Side by Side Diff: chromeos/cryptohome/mock_homedir_methods.h

Issue 517653002: Make CryptohomeAuthenticator's Login*() methods work with pre-hashed keys (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@d_3_367847_add_sha256_key_type
Patch Set: Created 6 years, 3 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
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 #ifndef CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ 5 #ifndef CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_
6 #define CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ 6 #define CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 const Authorization& auth, 50 const Authorization& auth,
51 const KeyDefinition& key, 51 const KeyDefinition& key,
52 const std::string& signature, 52 const std::string& signature,
53 const Callback& callback)); 53 const Callback& callback));
54 54
55 private: 55 private:
56 bool success_; 56 bool success_;
57 MountError return_code_; 57 MountError return_code_;
58 58
59 void DoCallback(const Callback& callback); 59 void DoCallback(const Callback& callback);
60 void DoGetDataCallback(const GetKeyDataCallback& callback);
60 void DoMountCallback(const MountCallback& callback); 61 void DoMountCallback(const MountCallback& callback);
61 62
62 DISALLOW_COPY_AND_ASSIGN(MockHomedirMethods); 63 DISALLOW_COPY_AND_ASSIGN(MockHomedirMethods);
63 }; 64 };
64 65
65 } // namespace cryptohome 66 } // namespace cryptohome
66 67
67 #endif // CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_ 68 #endif // CHROMEOS_CRYPTOHOME_MOCK_HOMEDIR_METHODS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698