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

Unified Diff: src/platform/cryptohome/mock_mount.h

Issue 2051003: Initial patch from Will. (Closed) Base URL: ssh://git@chromiumos-git/chromiumos
Patch Set: Address style nits. Created 10 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 side-by-side diff with in-line comments
Download patch
Index: src/platform/cryptohome/mock_mount.h
diff --git a/src/platform/cryptohome/mock_mount.h b/src/platform/cryptohome/mock_mount.h
new file mode 100644
index 0000000000000000000000000000000000000000..b3e69dca87eaff91918199bb3838f1ba6675c059
--- /dev/null
+++ b/src/platform/cryptohome/mock_mount.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CRYPTOHOME_MOCK_MOUNT_H_
+#define CRYPTOHOME_MOCK_MOUNT_H_
+
+#include "cryptohome/mount.h"
+
+#include <gmock/gmock.h>
+
+namespace cryptohome {
+class Credentials;
+
+class MockMount : public Mount {
+ public:
+ MockMount() {}
+ ~MockMount() {}
+ MOCK_METHOD0(Init, bool());
+ MOCK_METHOD1(TestCredentials, bool(const Credentials&));
+};
+} // namespace cryptohome
+
+#endif // CRYPTOHOME_MOCK_MOUNT_H_

Powered by Google App Engine
This is Rietveld 408576698