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

Issue 10875029: Rename MacKeychain to AppleKeychain (Closed)

Created:
8 years, 4 months ago by msarda
Modified:
8 years, 3 months ago
CC:
chromium-reviews, stuartmorgan
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

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). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154123

Patch Set 1 #

Total comments: 22

Patch Set 2 : Address code review. #

Total comments: 6

Patch Set 3 : Address code review: Fix nits #

Patch Set 4 : Compact line. #

Patch Set 5 : Fix compile error. #

Total comments: 22

Patch Set 6 : Address Avi's code review: add NStoCFCast and other nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+525 lines, -1287 lines) Patch
M chrome/browser/password_manager/encryptor_mac.mm View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/encryptor_password_mac.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/encryptor_password_mac.mm View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/encryptor_password_mac_unittest.cc View 6 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/password_manager/password_store_factory.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac.cc View 6 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac_internal.h View 1 2 3 4 5 6 chunks +11 lines, -11 lines 0 comments Download
M chrome/browser/password_manager/password_store_mac_unittest.cc View 9 chunks +12 lines, -11 lines 0 comments Download
A + crypto/apple_keychain.h View 3 chunks +33 lines, -25 lines 0 comments Download
A crypto/apple_keychain_ios.mm View 1 2 3 4 5 1 chunk +202 lines, -0 lines 0 comments Download
A + crypto/apple_keychain_mac.mm View 7 chunks +32 lines, -30 lines 0 comments Download
M crypto/crypto.gyp View 4 chunks +20 lines, -12 lines 0 comments Download
D crypto/keychain_mac.h View 1 chunk +0 lines, -100 lines 0 comments Download
D crypto/keychain_mac.cc View 1 chunk +0 lines, -129 lines 0 comments Download
A + crypto/mock_apple_keychain.h View 1 2 3 4 7 chunks +48 lines, -38 lines 0 comments Download
A crypto/mock_apple_keychain.cc View 1 1 chunk +61 lines, -0 lines 0 comments Download
A crypto/mock_apple_keychain_ios.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download
A + crypto/mock_apple_keychain_mac.cc View 1 21 chunks +52 lines, -100 lines 0 comments Download
D crypto/mock_keychain_mac.h View 1 chunk +0 lines, -241 lines 0 comments Download
D crypto/mock_keychain_mac.cc View 1 chunk +0 lines, -557 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
msarda
PTAL.
8 years, 4 months ago (2012-08-23 12:54:32 UTC) #1
Ryan Sleevi
Naming is hard. I like crypto::mac::Keychain better because it clearly indicates that it's "mac" only, ...
8 years, 4 months ago (2012-08-23 22:22:58 UTC) #2
stuartmorgan
https://chromiumcodereview.appspot.com/10875029/diff/1/crypto/apple_keychain_ios.mm File crypto/apple_keychain_ios.mm (right): https://chromiumcodereview.appspot.com/10875029/diff/1/crypto/apple_keychain_ios.mm#newcode105 crypto/apple_keychain_ios.mm:105: free(data); On 2012/08/23 22:22:58, Ryan Sleevi wrote: > nit? ...
8 years, 4 months ago (2012-08-24 06:56:03 UTC) #3
msarda
PTAL. https://chromiumcodereview.appspot.com/10875029/diff/1/crypto/apple_keychain.h File crypto/apple_keychain.h (right): https://chromiumcodereview.appspot.com/10875029/diff/1/crypto/apple_keychain.h#newcode16 crypto/apple_keychain.h:16: typedef void SecKeychainAttributeList; This is not a typo. ...
8 years, 3 months ago (2012-08-27 14:24:07 UTC) #4
Ryan Sleevi
Hi Mihai, I realize some of these nits aren't your original code, but since we've ...
8 years, 3 months ago (2012-08-29 01:18:38 UTC) #5
msarda
Thanks for the review. https://chromiumcodereview.appspot.com/10875029/diff/3003/crypto/apple_keychain_ios.mm File crypto/apple_keychain_ios.mm (right): https://chromiumcodereview.appspot.com/10875029/diff/3003/crypto/apple_keychain_ios.mm#newcode74 crypto/apple_keychain_ios.mm:74: if (action == kKeychainActionCreate) { ...
8 years, 3 months ago (2012-08-29 11:58:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msarda@chromium.org/10875029/12022
8 years, 3 months ago (2012-08-29 11:58:46 UTC) #7
commit-bot: I haz the power
Presubmit check for 10875029-12022 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-08-29 11:59:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msarda@chromium.org/10875029/24001
8 years, 3 months ago (2012-08-29 12:49:45 UTC) #9
commit-bot: I haz the power
Presubmit check for 10875029-24001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-08-29 12:49:56 UTC) #10
msarda
@Stuart: It seems you are a owner of chrome/browser/password_manager . Could you please take a ...
8 years, 3 months ago (2012-08-29 13:00:05 UTC) #11
stuartmorgan
LGTM
8 years, 3 months ago (2012-08-29 13:16:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msarda@chromium.org/10875029/24001
8 years, 3 months ago (2012-08-29 13:28:22 UTC) #13
commit-bot: I haz the power
Try job failure for 10875029-24001 (retry) on win_rel for steps "interactive_ui_tests, browser_tests". It's a second ...
8 years, 3 months ago (2012-08-29 17:38:26 UTC) #14
Avi (use Gerrit)
https://chromiumcodereview.appspot.com/10875029/diff/24001/chrome/browser/password_manager/password_store_mac_internal.h File chrome/browser/password_manager/password_store_mac_internal.h (right): https://chromiumcodereview.appspot.com/10875029/diff/24001/chrome/browser/password_manager/password_store_mac_internal.h#newcode159 chrome/browser/password_manager/password_store_mac_internal.h:159: // keychain_forms it's entries that weren't merged into at ...
8 years, 3 months ago (2012-08-29 17:56:21 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msarda@chromium.org/10875029/24001
8 years, 3 months ago (2012-08-30 07:49:39 UTC) #16
msarda
Address all your comments. https://chromiumcodereview.appspot.com/10875029/diff/24001/chrome/browser/password_manager/password_store_mac_internal.h File chrome/browser/password_manager/password_store_mac_internal.h (right): https://chromiumcodereview.appspot.com/10875029/diff/24001/chrome/browser/password_manager/password_store_mac_internal.h#newcode159 chrome/browser/password_manager/password_store_mac_internal.h:159: // keychain_forms it's entries that ...
8 years, 3 months ago (2012-08-30 09:43:02 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msarda@chromium.org/10875029/28002
8 years, 3 months ago (2012-08-30 09:47:01 UTC) #18
commit-bot: I haz the power
8 years, 3 months ago (2012-08-30 13:03:49 UTC) #19
Change committed as 154123

Powered by Google App Engine
This is Rietveld 408576698