summaryrefslogtreecommitdiffstats
path: root/crypto/mock_apple_keychain_ios.cc
diff options
context:
space:
mode:
authormsarda@chromium.org <msarda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-30 13:03:46 +0000
committermsarda@chromium.org <msarda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-30 13:03:46 +0000
commit982f1ab97f266866f5ea7cdf7980fb8c2685a713 (patch)
tree260c13aad3c10eb298e9d076917ba461a289b971 /crypto/mock_apple_keychain_ios.cc
parent57ed6c2888e68e0baa6919cee16b3c4726552e09 (diff)
downloadchromium_src-982f1ab97f266866f5ea7cdf7980fb8c2685a713.zip
chromium_src-982f1ab97f266866f5ea7cdf7980fb8c2685a713.tar.gz
chromium_src-982f1ab97f266866f5ea7cdf7980fb8c2685a713.tar.bz2
Rename MacKeychain to AppleKeychain
Rename MacKeychain to AppleKeychain and add mac and iOS specific implementations (crypto/apple_keychain_ios.mm and crypto/apple_keychain_mac.mm). Rename MockKeychain to MockAppleKeychain and split its implementations in 3 files crypto/mock_apple_keychain.cc, crypto/mock_apple_keychain_ios.cc and crypto/mock_apple_keychain_mac.cc). Review URL: https://chromiumcodereview.appspot.com/10875029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154123 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/mock_apple_keychain_ios.cc')
-rw-r--r--crypto/mock_apple_keychain_ios.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/crypto/mock_apple_keychain_ios.cc b/crypto/mock_apple_keychain_ios.cc
new file mode 100644
index 0000000..f94a80d
--- /dev/null
+++ b/crypto/mock_apple_keychain_ios.cc
@@ -0,0 +1,20 @@
+// Copyright (c) 2012 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.
+
+#include "base/logging.h"
+#include "base/time.h"
+#include "crypto/mock_apple_keychain.h"
+
+namespace crypto {
+
+MockAppleKeychain::MockAppleKeychain()
+ : find_generic_result_(noErr),
+ called_add_generic_(false),
+ password_data_count_(0) {
+}
+
+MockAppleKeychain::~MockAppleKeychain() {
+}
+
+} // namespace crypto