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

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

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 4 years, 12 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 (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 #ifndef CHROMEOS_CRYPTOHOME_MOCK_ASYNC_METHOD_CALLER_H_ 5 #ifndef CHROMEOS_CRYPTOHOME_MOCK_ASYNC_METHOD_CALLER_H_
6 #define CHROMEOS_CRYPTOHOME_MOCK_ASYNC_METHOD_CALLER_H_ 6 #define CHROMEOS_CRYPTOHOME_MOCK_ASYNC_METHOD_CALLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h"
12 #include "chromeos/cryptohome/async_method_caller.h" 12 #include "chromeos/cryptohome/async_method_caller.h"
13 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
14 14
15 namespace cryptohome { 15 namespace cryptohome {
16 16
17 class MockAsyncMethodCaller : public AsyncMethodCaller { 17 class MockAsyncMethodCaller : public AsyncMethodCaller {
18 public: 18 public:
19 static const char kFakeAttestationEnrollRequest[]; 19 static const char kFakeAttestationEnrollRequest[];
20 static const char kFakeAttestationCertRequest[]; 20 static const char kFakeAttestationCertRequest[];
21 static const char kFakeAttestationCert[]; 21 static const char kFakeAttestationCert[];
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 void FakeFinishCertRequest(const DataCallback& callback); 104 void FakeFinishCertRequest(const DataCallback& callback);
105 void FakeGetSanitizedUsername(const DataCallback& callback); 105 void FakeGetSanitizedUsername(const DataCallback& callback);
106 void FakeEnterpriseChallenge(const DataCallback& callback); 106 void FakeEnterpriseChallenge(const DataCallback& callback);
107 107
108 DISALLOW_COPY_AND_ASSIGN(MockAsyncMethodCaller); 108 DISALLOW_COPY_AND_ASSIGN(MockAsyncMethodCaller);
109 }; 109 };
110 110
111 } // namespace cryptohome 111 } // namespace cryptohome
112 112
113 #endif // CHROMEOS_CRYPTOHOME_MOCK_ASYNC_METHOD_CALLER_H_ 113 #endif // CHROMEOS_CRYPTOHOME_MOCK_ASYNC_METHOD_CALLER_H_
OLDNEW
« no previous file with comments | « chromeos/cryptohome/homedir_methods_unittest.cc ('k') | chromeos/cryptohome/mock_homedir_methods.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698