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

Issue 404803004: Cleaned up the code for suppressed messages (Closed)

Created:
6 years, 5 months ago by mhm
Modified:
6 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, jww
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Cleaned up the code for suppressed messages Permissions warning messages are suprressed around the code which make it hard to know which supress what. Put them in one DS the suppression is done in a single loop. This help visualize which suppress what and a neater place to add ones later. BUG=384487 R=kalman, meacer Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284771

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressing kalman comments #

Total comments: 4

Patch Set 3 : Additional kalman comments addressed #

Total comments: 4

Patch Set 4 : Addressing meacer comments #

Patch Set 5 : Fixing the android failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -36 lines) Patch
M chrome/common/extensions/permissions/chrome_permission_message_provider.cc View 1 2 3 4 4 chunks +34 lines, -36 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
mhm
meacer@ can you please review this for me.
6 years, 5 months ago (2014-07-18 19:55:17 UTC) #1
not at google - send to devlin
looks fine, a bunch of nits https://codereview.chromium.org/404803004/diff/1/chrome/common/extensions/permissions/chrome_permission_message_provider.cc File chrome/common/extensions/permissions/chrome_permission_message_provider.cc (left): https://codereview.chromium.org/404803004/diff/1/chrome/common/extensions/permissions/chrome_permission_message_provider.cc#oldcode107 chrome/common/extensions/permissions/chrome_permission_message_provider.cc:107: // Both tabs ...
6 years, 5 months ago (2014-07-18 20:17:26 UTC) #2
mhm
kalman@ hopefully things are better this round. https://codereview.chromium.org/404803004/diff/1/chrome/common/extensions/permissions/chrome_permission_message_provider.cc File chrome/common/extensions/permissions/chrome_permission_message_provider.cc (left): https://codereview.chromium.org/404803004/diff/1/chrome/common/extensions/permissions/chrome_permission_message_provider.cc#oldcode107 chrome/common/extensions/permissions/chrome_permission_message_provider.cc:107: // Both ...
6 years, 5 months ago (2014-07-18 21:29:13 UTC) #3
not at google - send to devlin
lgtm https://codereview.chromium.org/404803004/diff/1/chrome/common/extensions/permissions/chrome_permission_message_provider.cc File chrome/common/extensions/permissions/chrome_permission_message_provider.cc (left): https://codereview.chromium.org/404803004/diff/1/chrome/common/extensions/permissions/chrome_permission_message_provider.cc#oldcode139 chrome/common/extensions/permissions/chrome_permission_message_provider.cc:139: SuppressMessage(messages, On 2014/07/18 21:29:12, mhm wrote: > On ...
6 years, 5 months ago (2014-07-18 21:36:33 UTC) #4
mhm
> https://codereview.chromium.org/404803004/diff/1/chrome/common/extensions/permissions/chrome_permission_message_provider.cc#oldcode139 > chrome/common/extensions/permissions/chrome_permission_message_provider.cc:139: > SuppressMessage(messages, > On 2014/07/18 21:29:12, mhm wrote: > > On ...
6 years, 5 months ago (2014-07-18 21:49:30 UTC) #5
mhm
https://codereview.chromium.org/404803004/diff/20001/chrome/common/extensions/permissions/chrome_permission_message_provider.cc File chrome/common/extensions/permissions/chrome_permission_message_provider.cc (right): https://codereview.chromium.org/404803004/diff/20001/chrome/common/extensions/permissions/chrome_permission_message_provider.cc#newcode94 chrome/common/extensions/permissions/chrome_permission_message_provider.cc:94: // DeclarativeWebRequest. On 2014/07/18 21:36:33, kalman wrote: > comment ...
6 years, 5 months ago (2014-07-18 21:49:40 UTC) #6
mhm
The CQ bit was checked by mohammed@chromium.org
6 years, 5 months ago (2014-07-18 21:49:44 UTC) #7
mhm
The CQ bit was unchecked by mohammed@chromium.org
6 years, 5 months ago (2014-07-18 21:49:57 UTC) #8
mhm
On 2014/07/18 21:49:57, mhm wrote: > The CQ bit was unchecked by mailto:mohammed@chromium.org meacer@ any ...
6 years, 5 months ago (2014-07-18 21:50:18 UTC) #9
meacer
Lgtm with two comments https://codereview.chromium.org/404803004/diff/40001/chrome/common/extensions/permissions/chrome_permission_message_provider.cc File chrome/common/extensions/permissions/chrome_permission_message_provider.cc (right): https://codereview.chromium.org/404803004/diff/40001/chrome/common/extensions/permissions/chrome_permission_message_provider.cc#newcode95 chrome/common/extensions/permissions/chrome_permission_message_provider.cc:95: // TODO(sammc): Remove this. See ...
6 years, 5 months ago (2014-07-18 22:19:49 UTC) #10
mhm
Thanks for the comments meacer@ https://codereview.chromium.org/404803004/diff/40001/chrome/common/extensions/permissions/chrome_permission_message_provider.cc File chrome/common/extensions/permissions/chrome_permission_message_provider.cc (right): https://codereview.chromium.org/404803004/diff/40001/chrome/common/extensions/permissions/chrome_permission_message_provider.cc#newcode95 chrome/common/extensions/permissions/chrome_permission_message_provider.cc:95: // TODO(sammc): Remove this. ...
6 years, 5 months ago (2014-07-18 22:40:41 UTC) #11
mhm
The CQ bit was checked by mohammed@chromium.org
6 years, 5 months ago (2014-07-18 22:40:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohammed@chromium.org/404803004/60001
6 years, 5 months ago (2014-07-18 22:42:12 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-19 02:08:04 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-19 02:12:39 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/208364)
6 years, 5 months ago (2014-07-19 02:12:40 UTC) #16
mhm
The CQ bit was checked by mohammed@chromium.org
6 years, 5 months ago (2014-07-22 17:55:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mohammed@chromium.org/404803004/80001
6 years, 5 months ago (2014-07-22 17:56:59 UTC) #18
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 21:13:46 UTC) #19
Message was sent while issue was closed.
Change committed as 284771

Powered by Google App Engine
This is Rietveld 408576698