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

Issue 219653002: Push API: send and receive IPC messages for registration. (Closed)

Created:
6 years, 8 months ago by Michael van Ouwerkerk
Modified:
6 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Push API: send and receive IPC messages for registration. BUG=350378

Patch Set 1 #

Total comments: 22

Patch Set 2 : Rebase and address review comments. #

Total comments: 12

Patch Set 3 : Address review comments. #

Total comments: 12

Patch Set 4 : Rebase and address review comments. #

Patch Set 5 : Rebase. #

Patch Set 6 : Rebase and use GURL for endpoint. #

Total comments: 4

Patch Set 7 : Delete unused enum file. #

Patch Set 8 : Clean up gypi file. #

Total comments: 8

Patch Set 9 : Clean up includes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -0 lines) Patch
A content/browser/push_messaging_message_filter.h View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A content/browser/push_messaging_message_filter.cc View 1 2 3 4 5 1 chunk +63 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M content/common/content_message_generator.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A content/common/push_messaging_messages.h View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A content/renderer/push_messaging_dispatcher.h View 1 2 3 4 5 6 7 8 1 chunk +56 lines, -0 lines 0 comments Download
A content/renderer/push_messaging_dispatcher.cc View 1 2 3 4 5 6 7 8 1 chunk +73 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 3 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 3 chunks +8 lines, -0 lines 0 comments Download
M ipc/ipc_message_start.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Michael van Ouwerkerk
Peter as feature reviewer, owner reviewer TBD.
6 years, 8 months ago (2014-03-31 17:10:43 UTC) #1
Peter Beverloo
https://codereview.chromium.org/219653002/diff/1/content/browser/push_messaging_message_filter.cc File content/browser/push_messaging_message_filter.cc (right): https://codereview.chromium.org/219653002/diff/1/content/browser/push_messaging_message_filter.cc#newcode23 content/browser/push_messaging_message_filter.cc:23: IPC_MESSAGE_HANDLER(PushMessagingHostMsg_Register, OnRegister) Please indent the IPC_MESSAGE_HANDLER and IPC_MESSAGE_UNHANDLED macros ...
6 years, 8 months ago (2014-04-01 14:53:18 UTC) #2
Michael van Ouwerkerk
Thanks Peter! Please take another look. https://codereview.chromium.org/219653002/diff/1/content/browser/push_messaging_message_filter.cc File content/browser/push_messaging_message_filter.cc (right): https://codereview.chromium.org/219653002/diff/1/content/browser/push_messaging_message_filter.cc#newcode23 content/browser/push_messaging_message_filter.cc:23: IPC_MESSAGE_HANDLER(PushMessagingHostMsg_Register, OnRegister) On ...
6 years, 8 months ago (2014-04-02 14:25:14 UTC) #3
Michael van Ouwerkerk
Jochen, can you please take a look as owner?
6 years, 8 months ago (2014-04-02 14:25:37 UTC) #4
Michael van Ouwerkerk
Chris as IPC message reviewer.
6 years, 8 months ago (2014-04-02 14:30:49 UTC) #5
Peter Beverloo
This seems good to me, modulo the following comments. What is your plan for testing ...
6 years, 8 months ago (2014-04-02 14:46:04 UTC) #6
Michael van Ouwerkerk
Thanks Peter! Let's make a plan for testing this separately. I'm trying to avoid making ...
6 years, 8 months ago (2014-04-02 15:49:30 UTC) #7
Peter Beverloo
https://codereview.chromium.org/219653002/diff/40001/content/browser/push_messaging_message_filter.cc File content/browser/push_messaging_message_filter.cc (right): https://codereview.chromium.org/219653002/diff/40001/content/browser/push_messaging_message_filter.cc#newcode46 content/browser/push_messaging_message_filter.cc:46: void PushMessagingMessageFilter::DidRegister(int routing_id, Split this up in DidRegister and ...
6 years, 8 months ago (2014-04-03 16:03:19 UTC) #8
palmer
https://codereview.chromium.org/219653002/diff/40001/content/browser/push_messaging_message_filter.cc File content/browser/push_messaging_message_filter.cc (right): https://codereview.chromium.org/219653002/diff/40001/content/browser/push_messaging_message_filter.cc#newcode54 content/browser/push_messaging_message_filter.cc:54: routing_id, callbacks_id, endpoint, registration_id)); Nit: indentation https://codereview.chromium.org/219653002/diff/40001/content/browser/push_messaging_message_filter.h File content/browser/push_messaging_message_filter.h ...
6 years, 8 months ago (2014-04-03 18:56:13 UTC) #9
Michael van Ouwerkerk
Thanks for the reviews! Please take another look. https://codereview.chromium.org/219653002/diff/40001/content/browser/push_messaging_message_filter.cc File content/browser/push_messaging_message_filter.cc (right): https://codereview.chromium.org/219653002/diff/40001/content/browser/push_messaging_message_filter.cc#newcode46 content/browser/push_messaging_message_filter.cc:46: void ...
6 years, 8 months ago (2014-04-04 10:39:55 UTC) #10
palmer
https://codereview.chromium.org/219653002/diff/40001/content/browser/push_messaging_message_filter.h File content/browser/push_messaging_message_filter.h (right): https://codereview.chromium.org/219653002/diff/40001/content/browser/push_messaging_message_filter.h#newcode32 content/browser/push_messaging_message_filter.h:32: const std::string& endpoint, > The endpoint will be a ...
6 years, 8 months ago (2014-04-04 17:57:16 UTC) #11
Michael van Ouwerkerk
Thanks Chris! Please take another look. https://codereview.chromium.org/219653002/diff/40001/content/browser/push_messaging_message_filter.h File content/browser/push_messaging_message_filter.h (right): https://codereview.chromium.org/219653002/diff/40001/content/browser/push_messaging_message_filter.h#newcode32 content/browser/push_messaging_message_filter.h:32: const std::string& endpoint, ...
6 years, 8 months ago (2014-04-07 14:43:26 UTC) #12
Peter Beverloo
lgtm modulo removing push_messaging_status.h. https://codereview.chromium.org/219653002/diff/100001/content/browser/push_messaging_message_filter.cc File content/browser/push_messaging_message_filter.cc (right): https://codereview.chromium.org/219653002/diff/100001/content/browser/push_messaging_message_filter.cc#newcode32 content/browser/push_messaging_message_filter.cc:32: // TODO(mvanouwerkerk): Really implement, the ...
6 years, 8 months ago (2014-04-07 14:52:55 UTC) #13
palmer
IPC security LGTM.
6 years, 8 months ago (2014-04-07 20:23:21 UTC) #14
jochen (gone - plz use gerrit)
i would recommend to move the new files to a separate sub directory content/*/push_messaging or ...
6 years, 8 months ago (2014-04-08 07:42:17 UTC) #15
Michael van Ouwerkerk
Thanks for the reviews! Jochen: I think it's not necessary to create directories for this ...
6 years, 8 months ago (2014-04-08 13:27:00 UTC) #16
Michael van Ouwerkerk
The CQ bit was checked by mvanouwerkerk@chromium.org
6 years, 8 months ago (2014-04-08 13:27:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mvanouwerkerk@chromium.org/219653002/150001
6 years, 8 months ago (2014-04-08 13:27:17 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-08 15:39:41 UTC) #19
commit-bot: I haz the power
6 years, 8 months ago (2014-04-08 15:39:42 UTC) #20
Couldn't make sense out of svn commit message:
Adding         content/browser/push_messaging_message_filter.cc
Adding         content/browser/push_messaging_message_filter.h
Sending        content/browser/renderer_host/render_process_host_impl.cc
Sending        content/common/content_message_generator.h
Adding         content/common/push_messaging_messages.h
Sending        content/content_browser.gypi
Sending        content/content_common.gypi
Sending        content/content_renderer.gypi
Adding         content/renderer/push_messaging_dispatcher.cc
Adding         content/renderer/push_messaging_dispatcher.h
Sending        content/renderer/render_view_impl.cc
Sending        content/renderer/render_view_impl.h
Sending        ipc/ipc_message_start.h
Transmitting file data .............
Committed revision 262419.

Warning: post-commit hook failed (exit code 2) with output:
/opt/shared_hooks/post-commit.d/10_mailer.py:137: DeprecationWarning: The popen2
module is deprecated.  Use the subprocess module.
  import popen2
Post-commit mail timed out for r262419. Your commit succeeded,
but no mail was sent.

Powered by Google App Engine
This is Rietveld 408576698