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 990303002: Implement PermissionService::GetNextPermissionChange. (Closed)

Created:
5 years, 9 months ago by mlamouri (slow - plz ping)
Modified:
5 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, markusheintz_, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@permission_impl
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement PermissionService::GetNextPermissionChange. This is adding two methods to start and stop observing permission changes from content::PermissionManager. BUG=430238 TBR=gunsch@chromium.org (for chromecast/ boilerplate) Committed: https://crrev.com/23957a2d3cae89f9107fe028e24c02c80d5b7bfb Cr-Commit-Position: refs/heads/master@{#323210}

Patch Set 1 #

Patch Set 2 : cosmetic changes #

Total comments: 28

Patch Set 3 : review comments #

Total comments: 12

Patch Set 4 : rebase #

Patch Set 5 : review comments #

Patch Set 6 : rebase #

Patch Set 7 : android compiles #

Patch Set 8 : nits #

Patch Set 9 : fix chromecast/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+505 lines, -19 lines) Patch
M android_webview/browser/aw_permission_manager.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M android_webview/browser/aw_permission_manager.cc View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/permissions/permission_manager.h View 1 2 3 4 5 3 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/permissions/permission_manager.cc View 1 2 3 4 5 2 chunks +70 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_manager_unittest.cc View 1 2 3 4 5 3 chunks +260 lines, -4 lines 0 comments Download
M chromecast/browser/cast_permission_manager.h View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M chromecast/browser/cast_permission_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
M content/browser/permissions/permission_service_impl.h View 1 2 3 4 5 1 chunk +18 lines, -3 lines 0 comments Download
M content/browser/permissions/permission_service_impl.cc View 1 2 3 4 5 6 7 5 chunks +62 lines, -8 lines 0 comments Download
M content/common/permission_service.mojom View 3 1 chunk +9 lines, -0 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/public/browser/permission_manager.h View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M content/shell/browser/shell_permission_manager.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M content/shell/browser/shell_permission_manager.cc View 1 2 3 4 5 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (11 generated)
mlamouri (slow - plz ping)
bauerb@, please review changes in: chrome/browser/content_settings/permission_context.cc chrome/browser/content_settings/permission_context.h chrome/browser/content_settings/permission_observer.cc chrome/browser/content_settings/permission_observer.h chrome/browser/content_settings/permission_observer_factory.cc chrome/browser/content_settings/permission_observer_factory.h chrome/browser/content_settings/permission_observer_unittest.cc jochen, please review ...
5 years, 9 months ago (2015-03-11 11:37:09 UTC) #3
mlamouri (slow - plz ping)
https://codereview.chromium.org/990303002/diff/20001/chrome/browser/content_settings/permission_context.h File chrome/browser/content_settings/permission_context.h (right): https://codereview.chromium.org/990303002/diff/20001/chrome/browser/content_settings/permission_context.h#newcode17 chrome/browser/content_settings/permission_context.h:17: PermissionContextBase* Get(Profile* profile, This could be renamed PermissionContextFactory::Create() to ...
5 years, 9 months ago (2015-03-11 11:38:17 UTC) #4
Bernhard Bauer
https://codereview.chromium.org/990303002/diff/20001/chrome/browser/content_settings/permission_context.h File chrome/browser/content_settings/permission_context.h (right): https://codereview.chromium.org/990303002/diff/20001/chrome/browser/content_settings/permission_context.h#newcode13 chrome/browser/content_settings/permission_context.h:13: namespace PermissionContext { Namespaces should be lowercase_with_underscores. Or you ...
5 years, 9 months ago (2015-03-11 14:06:18 UTC) #5
jochen (gone - plz use gerrit)
https://codereview.chromium.org/990303002/diff/20001/content/public/browser/content_browser_client.h File content/public/browser/content_browser_client.h (right): https://codereview.chromium.org/990303002/diff/20001/content/public/browser/content_browser_client.h#newcode458 content/public/browser/content_browser_client.h:458: virtual int SubscribePermissionStatusChange( why is this not on browser_context?
5 years, 9 months ago (2015-03-11 16:11:24 UTC) #6
Tom Sepez
https://codereview.chromium.org/990303002/diff/20001/content/common/permission_service.mojom File content/common/permission_service.mojom (right): https://codereview.chromium.org/990303002/diff/20001/content/common/permission_service.mojom#newcode31 content/common/permission_service.mojom:31: // conditions, the caller must pass the last known ...
5 years, 9 months ago (2015-03-11 17:18:42 UTC) #7
mlamouri (slow - plz ping)
PTAL
5 years, 9 months ago (2015-03-18 16:24:02 UTC) #8
mlamouri (slow - plz ping)
https://codereview.chromium.org/990303002/diff/20001/chrome/browser/content_settings/permission_context.h File chrome/browser/content_settings/permission_context.h (right): https://codereview.chromium.org/990303002/diff/20001/chrome/browser/content_settings/permission_context.h#newcode13 chrome/browser/content_settings/permission_context.h:13: namespace PermissionContext { On 2015/03/11 at 14:06:18, Bernhard Bauer ...
5 years, 9 months ago (2015-03-18 16:24:40 UTC) #9
Bernhard Bauer
https://codereview.chromium.org/990303002/diff/20001/chrome/browser/content_settings/permission_observer_unittest.cc File chrome/browser/content_settings/permission_observer_unittest.cc (right): https://codereview.chromium.org/990303002/diff/20001/chrome/browser/content_settings/permission_observer_unittest.cc#newcode13 chrome/browser/content_settings/permission_observer_unittest.cc:13: class PermissionObserverTests : public ChromeRenderViewHostTestHarness { On 2015/03/18 16:24:40, ...
5 years, 9 months ago (2015-03-23 10:20:44 UTC) #10
mlamouri (slow - plz ping)
PTAL. Revision 3 was included a WIP version of a CL that has landed since. ...
5 years, 9 months ago (2015-03-23 18:06:50 UTC) #11
Bernhard Bauer
LGTM https://codereview.chromium.org/990303002/diff/20001/chrome/browser/content_settings/permission_observer_unittest.cc File chrome/browser/content_settings/permission_observer_unittest.cc (right): https://codereview.chromium.org/990303002/diff/20001/chrome/browser/content_settings/permission_observer_unittest.cc#newcode37 chrome/browser/content_settings/permission_observer_unittest.cc:37: return url_; On 2015/03/23 10:20:43, Bernhard Bauer wrote: ...
5 years, 9 months ago (2015-03-23 18:26:18 UTC) #12
mlamouri (slow - plz ping)
On 2015/03/23 at 18:26:18, bauerb wrote: > LGTM > > https://codereview.chromium.org/990303002/diff/20001/chrome/browser/content_settings/permission_observer_unittest.cc > File chrome/browser/content_settings/permission_observer_unittest.cc (right): ...
5 years, 9 months ago (2015-03-23 18:39:36 UTC) #13
jochen (gone - plz use gerrit)
On 2015/03/18 at 16:24:40, mlamouri wrote: > https://codereview.chromium.org/990303002/diff/20001/content/public/browser/content_browser_client.h > File content/public/browser/content_browser_client.h (right): > > https://codereview.chromium.org/990303002/diff/20001/content/public/browser/content_browser_client.h#newcode458 ...
5 years, 9 months ago (2015-03-24 09:16:35 UTC) #14
mlamouri (slow - plz ping)
On 2015/03/24 at 09:16:35, jochen wrote: > On 2015/03/18 at 16:24:40, mlamouri wrote: > > ...
5 years, 9 months ago (2015-03-25 19:45:29 UTC) #15
mlamouri (slow - plz ping)
Updated to extend content::PermissionManager interface. PTAL.
5 years, 8 months ago (2015-03-29 21:58:56 UTC) #16
jochen (gone - plz use gerrit)
lgtm
5 years, 8 months ago (2015-03-31 10:22:16 UTC) #17
Tom Sepez
lgtm
5 years, 8 months ago (2015-03-31 16:24:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/990303002/140001
5 years, 8 months ago (2015-03-31 21:02:02 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/990303002/160001
5 years, 8 months ago (2015-03-31 21:30:09 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/53095)
5 years, 8 months ago (2015-03-31 21:42:03 UTC) #27
gunsch
On 2015/03/31 21:42:03, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
5 years, 8 months ago (2015-03-31 23:08:58 UTC) #28
mlamouri (slow - plz ping)
chromecast/ updated. torne@, could you PTAL at android_webview/ changes?
5 years, 8 months ago (2015-04-01 09:40:35 UTC) #30
Torne
android_webview LGTM
5 years, 8 months ago (2015-04-01 10:14:31 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/990303002/180001
5 years, 8 months ago (2015-04-01 10:31:02 UTC) #34
commit-bot: I haz the power
Committed patchset #9 (id:180001)
5 years, 8 months ago (2015-04-01 10:38:14 UTC) #35
commit-bot: I haz the power
5 years, 8 months ago (2015-04-01 10:38:43 UTC) #36
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/23957a2d3cae89f9107fe028e24c02c80d5b7bfb
Cr-Commit-Position: refs/heads/master@{#323210}

Powered by Google App Engine
This is Rietveld 408576698