|
|
Created:
4 years, 4 months ago by cfroussios Modified:
4 years, 4 months ago Reviewers:
vasilii CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionGet rid of GnomeKeyringLoader macros
BUG=602624
Committed: https://crrev.com/469b0eeb77b21342dc864ab2117d07ce0c2c950c
Cr-Commit-Position: refs/heads/master@{#408965}
Patch Set 1 #Patch Set 2 : unnecessary null termination #
Total comments: 8
Patch Set 3 : feedback #Patch Set 4 : *_ptr #Patch Set 5 : fix format #
Messages
Total messages: 34 (25 generated)
The CQ bit was checked by cfroussios@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by cfroussios@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
cfroussios@chromium.org changed reviewers: + vasilii@chromium.org
Hi! Can you review this change? Thanks!
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Change the description to "Get rid of GnomeKeyringLoader macros" https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... File chrome/browser/password_manager/native_backend_gnome_x.cc (right): https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... chrome/browser/password_manager/native_backend_gnome_x.cc:45: typeof(&::gnome_keyring_is_available) decltype https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... chrome/browser/password_manager/native_backend_gnome_x.cc:68: reinterpret_cast<void**>(&gnome_keyring_is_available)}, Will static_cast work here? https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... File chrome/browser/password_manager/native_backend_gnome_x.h (right): https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... chrome/browser/password_manager/native_backend_gnome_x.h:46: static decltype(&::gnome_keyring_is_available) gnome_keyring_is_available; Do you deliberately reuse the same names?
The CQ bit was checked by cfroussios@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Patchset #3 (id:40001) has been deleted
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...) win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...) win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/...)
The CQ bit was checked by cfroussios@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Expanded GnomeKeyringLoader macros BUG=602624 ========== to ========== Get rid of GnomeKeyringLoader macros BUG=602624 ==========
https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... File chrome/browser/password_manager/native_backend_gnome_x.cc (right): https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... chrome/browser/password_manager/native_backend_gnome_x.cc:45: typeof(&::gnome_keyring_is_available) On 2016/08/01 09:51:26, vasilii wrote: > decltype Done. https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... chrome/browser/password_manager/native_backend_gnome_x.cc:68: reinterpret_cast<void**>(&gnome_keyring_is_available)}, On 2016/08/01 09:51:26, vasilii wrote: > Will static_cast work here? The compiler does not allow it. https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... File chrome/browser/password_manager/native_backend_gnome_x.h (right): https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... chrome/browser/password_manager/native_backend_gnome_x.h:46: static decltype(&::gnome_keyring_is_available) gnome_keyring_is_available; On 2016/08/01 09:51:26, vasilii wrote: > Do you deliberately reuse the same names? That's the names that the macros would produce. Are you suggesting that we should rename the functions? We could definitely drop the prefix.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... File chrome/browser/password_manager/native_backend_gnome_x.h (right): https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... chrome/browser/password_manager/native_backend_gnome_x.h:46: static decltype(&::gnome_keyring_is_available) gnome_keyring_is_available; On 2016/08/01 10:54:52, cfroussios wrote: > On 2016/08/01 09:51:26, vasilii wrote: > > Do you deliberately reuse the same names? > > That's the names that the macros would produce. Are you suggesting that we > should rename the functions? We could definitely drop the prefix. I'd use gnome_keyring_is_available_ptr. I'm totally fine with dropping the prefix too.
The CQ bit was checked by cfroussios@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by cfroussios@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... File chrome/browser/password_manager/native_backend_gnome_x.h (right): https://codereview.chromium.org/2196193002/diff/20001/chrome/browser/password... chrome/browser/password_manager/native_backend_gnome_x.h:46: static decltype(&::gnome_keyring_is_available) gnome_keyring_is_available; On 2016/08/01 11:46:37, vasilii wrote: > On 2016/08/01 10:54:52, cfroussios wrote: > > On 2016/08/01 09:51:26, vasilii wrote: > > > Do you deliberately reuse the same names? > > > > That's the names that the macros would produce. Are you suggesting that we > > should rename the functions? We could definitely drop the prefix. > > I'd use gnome_keyring_is_available_ptr. I'm totally fine with dropping the > prefix too. I used ptr. I didn't get rid of the prefix, because then some functions, e.g. GnomeKeyringLoader::is_available_ptr(), could be read as if querying the state of the loader, instead of the library.
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by cfroussios@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Get rid of GnomeKeyringLoader macros BUG=602624 ========== to ========== Get rid of GnomeKeyringLoader macros BUG=602624 ==========
Message was sent while issue was closed.
Committed patchset #5 (id:100001)
Message was sent while issue was closed.
Description was changed from ========== Get rid of GnomeKeyringLoader macros BUG=602624 ========== to ========== Get rid of GnomeKeyringLoader macros BUG=602624 Committed: https://crrev.com/469b0eeb77b21342dc864ab2117d07ce0c2c950c Cr-Commit-Position: refs/heads/master@{#408965} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/469b0eeb77b21342dc864ab2117d07ce0c2c950c Cr-Commit-Position: refs/heads/master@{#408965} |