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

Issue 817333002: Do not use hardcoded identifier in password manager user authorization (Closed)

Created:
6 years ago by Jiang Jiang
Modified:
5 years, 10 months ago
CC:
chromium-reviews, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not use hardcoded identifier in password manager user authorization password_manager_util_mac uses hardcoded "com.google.Chrome", since rest of the code is pretty generic we would like to use this file directly in Opera, however we want to use something like com.operasoftware.Opera, since that information is can already be retrieved from [base::mac::MainBundle() bundleIdentifier] we can just use it and append ".show-passwords". BUG=447344 Committed: https://crrev.com/6a4346b2119c1155aea9835478895fbe2660a1d2 Cr-Commit-Position: refs/heads/master@{#317037}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M chrome/browser/password_manager/password_manager_util_mac.mm View 2 chunks +5 lines, -1 line 3 comments Download

Messages

Total messages: 15 (4 generated)
Jiang Jiang
6 years ago (2014-12-22 16:52:47 UTC) #2
Jiang Jiang
Ping, can any of you take a look?
5 years, 11 months ago (2015-01-08 17:40:48 UTC) #4
Mike West
This looks pretty reasonable to me, but I am not an Obj-C person, nor am ...
5 years, 11 months ago (2015-01-08 17:47:09 UTC) #6
dconnelly
Is there a bug for this? https://codereview.chromium.org/817333002/diff/1/chrome/browser/password_manager/password_manager_util_mac.mm File chrome/browser/password_manager/password_manager_util_mac.mm (right): https://codereview.chromium.org/817333002/diff/1/chrome/browser/password_manager/password_manager_util_mac.mm#newcode24 chrome/browser/password_manager/password_manager_util_mac.mm:24: [[identifier stringByAppendingString:@".show-passwords"] UTF8String]; ...
5 years, 11 months ago (2015-01-08 17:56:36 UTC) #7
Jiang Jiang
On 2015/01/08 17:56:36, dconnelly wrote: > Is there a bug for this? > > https://codereview.chromium.org/817333002/diff/1/chrome/browser/password_manager/password_manager_util_mac.mm ...
5 years, 11 months ago (2015-01-08 21:05:51 UTC) #8
Jiang Jiang
https://codereview.chromium.org/817333002/diff/1/chrome/browser/password_manager/password_manager_util_mac.mm File chrome/browser/password_manager/password_manager_util_mac.mm (right): https://codereview.chromium.org/817333002/diff/1/chrome/browser/password_manager/password_manager_util_mac.mm#newcode24 chrome/browser/password_manager/password_manager_util_mac.mm:24: [[identifier stringByAppendingString:@".show-passwords"] UTF8String]; On 2015/01/08 17:56:36, dconnelly wrote: > ...
5 years, 11 months ago (2015-01-08 21:41:58 UTC) #9
dconnelly
lgtm. You still need a chrome/browser/password_manager OWNER to rubber-stamp, though. Punting back to mkwst. https://codereview.chromium.org/817333002/diff/1/chrome/browser/password_manager/password_manager_util_mac.mm ...
5 years, 11 months ago (2015-01-09 09:06:03 UTC) #10
Mike West
If Daniel's happy, I'm happy. rs LGTM.
5 years, 11 months ago (2015-01-09 09:07:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/817333002/1
5 years, 10 months ago (2015-02-19 13:06:19 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 10 months ago (2015-02-19 13:48:21 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-19 13:48:49 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/6a4346b2119c1155aea9835478895fbe2660a1d2
Cr-Commit-Position: refs/heads/master@{#317037}

Powered by Google App Engine
This is Rietveld 408576698