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

Issue 2529763002: Create FakeProviders for NativeAppMetadata and NativeAppManager (Closed)

Created:
4 years ago by sczs1
Modified:
4 years ago
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create FakeProviders for NativeAppMetadata and NativeAppManager These 2 classes will be used instead of Mocks for all tests where a basic NativeApp* implementation is needed. BUG=662573 Committed: https://crrev.com/361b7f0fcda579b98df8e77090ff994bebcdd4cc Cr-Commit-Position: refs/heads/master@{#435116}

Patch Set 1 #

Patch Set 2 : Memory handling #

Patch Set 3 : WIP FakeProvider #

Patch Set 4 : FakeMetadata Changes #

Total comments: 33

Patch Set 5 : Switches to ARC #

Patch Set 6 : Add implementation for |schemeForAppId:| #

Total comments: 10

Patch Set 7 : Feedback #

Total comments: 4

Patch Set 8 : Rebase and CL Feedback #

Messages

Total messages: 39 (23 generated)
sczs1
This might probably need small changes depending on what's needed for tests. But if you ...
4 years ago (2016-11-24 23:04:52 UTC) #6
rohitrao (ping after 24h)
Do all of the tests pass when using these fakes? https://codereview.chromium.org/2529763002/diff/80001/ios/public/provider/chrome/browser/BUILD.gn File ios/public/provider/chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2529763002/diff/80001/ios/public/provider/chrome/browser/BUILD.gn#newcode19 ...
4 years ago (2016-11-25 00:34:39 UTC) #9
rohitrao (ping after 24h)
In the CL description, I would change "Create FakeProviders" to "Create fakes". These aren't really ...
4 years ago (2016-11-25 00:35:25 UTC) #10
sdefresne
https://codereview.chromium.org/2529763002/diff/80001/ios/public/provider/chrome/browser/BUILD.gn File ios/public/provider/chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2529763002/diff/80001/ios/public/provider/chrome/browser/BUILD.gn#newcode19 ios/public/provider/chrome/browser/BUILD.gn:19: "native_app_launcher/fake_native_app_metadata.h", On 2016/11/25 00:34:38, rohitrao wrote: > These should ...
4 years ago (2016-11-25 08:41:58 UTC) #11
sczs1
PTAL Switched over to ARC and all tests pass with this current implementation. https://codereview.chromium.org/2529763002/diff/80001/ios/public/provider/chrome/browser/BUILD.gn File ...
4 years ago (2016-11-26 04:10:19 UTC) #13
sdefresne
https://codereview.chromium.org/2529763002/diff/140001/ios/public/provider/chrome/browser/BUILD.gn File ios/public/provider/chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2529763002/diff/140001/ios/public/provider/chrome/browser/BUILD.gn#newcode60 ios/public/provider/chrome/browser/BUILD.gn:60: "//ios/public/provider/chrome/browser/native_app_launcher", On 2016/11/26 04:10:19, sczs1 wrote: > This will ...
4 years ago (2016-11-28 09:28:12 UTC) #18
sdefresne
https://codereview.chromium.org/2529763002/diff/140001/ios/public/provider/chrome/browser/BUILD.gn File ios/public/provider/chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2529763002/diff/140001/ios/public/provider/chrome/browser/BUILD.gn#newcode60 ios/public/provider/chrome/browser/BUILD.gn:60: "//ios/public/provider/chrome/browser/native_app_launcher", On 2016/11/28 09:28:12, sdefresne wrote: > On 2016/11/26 ...
4 years ago (2016-11-28 09:29:47 UTC) #19
sczs1
Thanks Sylvain, will Rebase once your changes land. https://codereview.chromium.org/2529763002/diff/140001/ios/public/provider/chrome/browser/BUILD.gn File ios/public/provider/chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2529763002/diff/140001/ios/public/provider/chrome/browser/BUILD.gn#newcode60 ios/public/provider/chrome/browser/BUILD.gn:60: "//ios/public/provider/chrome/browser/native_app_launcher", ...
4 years ago (2016-11-28 19:16:30 UTC) #20
rohitrao (ping after 24h)
@sdefresne could you take a look at this today?
4 years ago (2016-11-29 17:37:56 UTC) #21
sdefresne
lgtm https://codereview.chromium.org/2529763002/diff/160001/ios/public/provider/chrome/browser/BUILD.gn File ios/public/provider/chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2529763002/diff/160001/ios/public/provider/chrome/browser/BUILD.gn#newcode133 ios/public/provider/chrome/browser/BUILD.gn:133: "//ios/public/provider/chrome/browser/native_app_launcher:test_support", Can you add a TODO that this ...
4 years ago (2016-11-29 18:19:33 UTC) #22
sczs1
Will CQ the CL if tests pass. https://codereview.chromium.org/2529763002/diff/160001/ios/public/provider/chrome/browser/BUILD.gn File ios/public/provider/chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2529763002/diff/160001/ios/public/provider/chrome/browser/BUILD.gn#newcode133 ios/public/provider/chrome/browser/BUILD.gn:133: "//ios/public/provider/chrome/browser/native_app_launcher:test_support", On ...
4 years ago (2016-11-29 20:11:25 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2529763002/180001
4 years ago (2016-11-29 23:11:37 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-30 01:13:51 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2529763002/180001
4 years ago (2016-11-30 01:41:55 UTC) #34
commit-bot: I haz the power
Committed patchset #8 (id:180001)
4 years ago (2016-11-30 01:51:06 UTC) #37
commit-bot: I haz the power
4 years ago (2016-11-30 01:58:51 UTC) #39
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/361b7f0fcda579b98df8e77090ff994bebcdd4cc
Cr-Commit-Position: refs/heads/master@{#435116}

Powered by Google App Engine
This is Rietveld 408576698