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

Issue 376253005: Migrate the notification permission to the new common permission classes. (Closed)

Created:
6 years, 5 months ago by Miguel Garcia
Modified:
6 years, 5 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, markusheintz_, vasilii
Project:
chromium
Visibility:
Public.

Description

Migrate the notification permission to the new common permission classes. Move the profile related methods to its own class. BUG=392145 TBR=vasilii,miket Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285130

Patch Set 1 #

Total comments: 32

Patch Set 2 : #

Patch Set 3 #

Total comments: 28

Patch Set 4 : #

Patch Set 5 : Rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+333 lines, -604 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 5 3 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 2 chunks +23 lines, -1 line 0 comments Download
M chrome/browser/content_settings/permission_bubble_request_impl.cc View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/permission_context_uma_util.cc View 1 2 3 3 chunks +18 lines, -11 lines 0 comments Download
M chrome/browser/content_settings/permission_queue_controller.cc View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/notifications_apitest.cc View 1 2 chunks +4 lines, -5 lines 0 comments Download
A chrome/browser/notifications/desktop_notification_infobar_delegate.h View 1 1 chunk +40 lines, -0 lines 0 comments Download
A + chrome/browser/notifications/desktop_notification_infobar_delegate.cc View 1 2 chunks +16 lines, -16 lines 0 comments Download
A chrome/browser/notifications/desktop_notification_profile_util.h View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/notifications/desktop_notification_profile_util.cc View 1 2 3 1 chunk +70 lines, -0 lines 0 comments Download
A + chrome/browser/notifications/desktop_notification_profile_util_unittest.cc View 1 1 chunk +12 lines, -18 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service.h View 1 2 3 4 5 6 chunks +2 lines, -35 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service.cc View 1 2 3 4 5 7 chunks +5 lines, -356 lines 0 comments Download
D chrome/browser/notifications/desktop_notification_service_unittest.cc View 1 1 chunk +0 lines, -65 lines 0 comments Download
M chrome/browser/notifications/message_center_settings_controller.cc View 1 2 3 4 5 5 chunks +12 lines, -5 lines 0 comments Download
M chrome/browser/notifications/notification_browsertest.cc View 1 2 3 4 10 chunks +20 lines, -26 lines 0 comments Download
M chrome/browser/profile_resetter/profile_resetter_unittest.cc View 1 3 chunks +26 lines, -40 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 5 chunks +13 lines, -25 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Miguel Garcia
Initial non owner review
6 years, 5 months ago (2014-07-09 18:45:24 UTC) #1
Peter Beverloo
Thanks for the patch! There are a number of architectural concerns which we'll have to ...
6 years, 5 months ago (2014-07-10 11:29:39 UTC) #2
Miguel Garcia
A few high level items: All the dependencies have landed, including the one for UMA ...
6 years, 5 months ago (2014-07-17 17:24:48 UTC) #3
Peter Beverloo
I like this, thanks! Let's do one more iteration? https://codereview.chromium.org/376253005/diff/1/chrome/browser/notifications/desktop_notification_infobar_delegate.h File chrome/browser/notifications/desktop_notification_infobar_delegate.h (right): https://codereview.chromium.org/376253005/diff/1/chrome/browser/notifications/desktop_notification_infobar_delegate.h#newcode16 chrome/browser/notifications/desktop_notification_infobar_delegate.h:16: ...
6 years, 5 months ago (2014-07-18 10:42:38 UTC) #4
Miguel Garcia
Adding owners for the different directories too https://chromiumcodereview.appspot.com/376253005/diff/40001/chrome/browser/chrome_content_browser_client.cc File chrome/browser/chrome_content_browser_client.cc (right): https://chromiumcodereview.appspot.com/376253005/diff/40001/chrome/browser/chrome_content_browser_client.cc#newcode2134 chrome/browser/chrome_content_browser_client.cc:2134: render_frame_host); On ...
6 years, 5 months ago (2014-07-18 12:27:09 UTC) #5
Miguel Garcia
miket: for extenstions mpearson: for histograms bauerb: for content settings miket: for the changes in ...
6 years, 5 months ago (2014-07-18 12:29:24 UTC) #6
Miguel Garcia
On 2014/07/18 12:29:24, Miguel Garcia wrote: > miket: for extenstions > mpearson: for histograms > ...
6 years, 5 months ago (2014-07-18 12:34:26 UTC) #7
Bernhard Bauer
content_settings/ LGTM
6 years, 5 months ago (2014-07-18 14:10:19 UTC) #8
Mark P
histograms.xml lgtm
6 years, 5 months ago (2014-07-18 14:14:20 UTC) #9
Jun Mukai
notification lgtm
6 years, 5 months ago (2014-07-18 17:33:19 UTC) #10
Miguel Garcia
The CQ bit was checked by miguelg@chromium.org
6 years, 5 months ago (2014-07-22 17:51:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miguelg@chromium.org/376253005/80001
6 years, 5 months ago (2014-07-22 17:53:14 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 20:03:46 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-22 20:13:43 UTC) #14
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/209205)
6 years, 5 months ago (2014-07-22 20:13:44 UTC) #15
Miguel Garcia
The CQ bit was checked by miguelg@chromium.org
6 years, 5 months ago (2014-07-23 19:25:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miguelg@chromium.org/376253005/100001
6 years, 5 months ago (2014-07-23 19:28:46 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-24 02:55:40 UTC) #18
Message was sent while issue was closed.
Change committed as 285130

Powered by Google App Engine
This is Rietveld 408576698