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

Issue 568173003: Add Initialize() method to Application with ability to send args using (Closed)

Created:
6 years, 3 months ago by DaveMoore
Modified:
6 years, 3 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add Initialize() method to Application with ability to send args using new api on ApplicationManager. BUG= Committed: https://crrev.com/2245c392b9a37199c868213d32e73865756416d3 Cr-Commit-Position: refs/heads/master@{#295816}

Patch Set 1 #

Patch Set 2 : Add assert to ensure Initialize() gets calls exactly once and before any connections #

Total comments: 2

Patch Set 3 : Review nit #

Total comments: 10

Patch Set 4 : Address review comments #

Total comments: 1

Patch Set 5 : Review nit #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -10 lines) Patch
M mojo/application_manager/application_manager.h View 1 3 chunks +6 lines, -0 lines 0 comments Download
M mojo/application_manager/application_manager.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M mojo/application_manager/application_manager_unittest.cc View 1 2 3 5 chunks +49 lines, -7 lines 0 comments Download
M mojo/public/cpp/application/application_impl.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M mojo/public/cpp/application/lib/application_impl.cc View 1 2 3 4 4 chunks +11 lines, -3 lines 0 comments Download
M mojo/public/interfaces/application/application.mojom View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (7 generated)
DaveMoore
Add assert to ensure Initialize() gets calls exactly once and before any connections
6 years, 3 months ago (2014-09-12 22:00:44 UTC) #1
DaveMoore
6 years, 3 months ago (2014-09-12 22:02:50 UTC) #3
darin (slow to review)
What's the intended use case? Passing arguments to the app specified on the command line ...
6 years, 3 months ago (2014-09-15 03:58:55 UTC) #5
DaveMoore
Review nit
6 years, 3 months ago (2014-09-15 04:46:16 UTC) #6
DaveMoore
This will be used with args specified to mojo_shell, but also in some test cases ...
6 years, 3 months ago (2014-09-15 04:47:58 UTC) #7
darin (slow to review)
On Sun, Sep 14, 2014 at 9:47 PM, <davemoore@chromium.org> wrote: > This will be used ...
6 years, 3 months ago (2014-09-15 04:54:36 UTC) #8
viettrungluu
https://codereview.chromium.org/568173003/diff/40001/mojo/public/cpp/application/application_impl.h File mojo/public/cpp/application/application_impl.h (right): https://codereview.chromium.org/568173003/diff/40001/mojo/public/cpp/application/application_impl.h#newcode63 mojo/public/cpp/application/application_impl.h:63: const Array<String>& args() { return args_; } Needs comment. ...
6 years, 3 months ago (2014-09-15 17:26:19 UTC) #9
DaveMoore
Address review comments
6 years, 3 months ago (2014-09-15 22:33:41 UTC) #10
DaveMoore
One example of a case where I would like to set some arguments in tests ...
6 years, 3 months ago (2014-09-15 22:35:08 UTC) #11
viettrungluu
LGTM (but maybe wait for Darin to weigh in also), w/suggestion. Also, we should probably ...
6 years, 3 months ago (2014-09-15 22:43:29 UTC) #12
DaveMoore
On 2014/09/15 22:43:29, viettrungluu wrote: > LGTM (but maybe wait for Darin to weigh in ...
6 years, 3 months ago (2014-09-15 23:44:23 UTC) #13
viettrungluu
This is a test of the shell code, not of the client library. On Sep ...
6 years, 3 months ago (2014-09-16 00:32:58 UTC) #14
darin (slow to review)
I don't think you need to null check an Array before calling .Pass() on it. ...
6 years, 3 months ago (2014-09-18 18:10:01 UTC) #15
DaveMoore
Review nit
6 years, 3 months ago (2014-09-18 19:28:16 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/568173003/80001
6 years, 3 months ago (2014-09-18 19:29:45 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/13978)
6 years, 3 months ago (2014-09-18 20:46:25 UTC) #20
Aaron Boodman
It just occurred to me that for the command line case, it might be cool ...
6 years, 3 months ago (2014-09-19 00:37:27 UTC) #21
Aaron Boodman
Nevermind, Dave just told me in person this doesn't work for his use case. I ...
6 years, 3 months ago (2014-09-19 01:05:48 UTC) #22
darin (slow to review)
Yeah, it is a very interesting idea. We have talked about the idea of an ...
6 years, 3 months ago (2014-09-19 05:43:40 UTC) #23
DaveMoore
Rebase
6 years, 3 months ago (2014-09-19 21:52:31 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/568173003/100001
6 years, 3 months ago (2014-09-19 21:54:54 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/568173003/100001
6 years, 3 months ago (2014-09-19 21:54:55 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/11599)
6 years, 3 months ago (2014-09-19 23:08:25 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/568173003/100001
6 years, 3 months ago (2014-09-19 23:18:46 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 1c4ad409f8796c9113288c35a5740fe4702a2f33
6 years, 3 months ago (2014-09-19 23:55:40 UTC) #32
commit-bot: I haz the power
6 years, 3 months ago (2014-09-19 23:56:27 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2245c392b9a37199c868213d32e73865756416d3
Cr-Commit-Position: refs/heads/master@{#295816}

Powered by Google App Engine
This is Rietveld 408576698