|
|
Created:
3 years, 10 months ago by vakh (use Gerrit instead) Modified:
3 years, 10 months ago Reviewers:
Nathan Parker CC:
chromium-reviews, grt+watch_chromium.org, vakh+watch_chromium.org, Scott Hess - ex-Googler Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionTests for calling client methods: Check*Url
Part 1: http://crrev.com/2675063002
Part 2: http://crrev.com/2684663002
Part 3: http://crrev.com/2683813002 (this CL)
BUG=682495
Review-Url: https://codereview.chromium.org/2683813002
Cr-Commit-Position: refs/heads/master@{#450180}
Committed: https://chromium.googlesource.com/chromium/src/+/dfca1068b4dee7a7959426a1f95960d49b023d4f
Patch Set 1 #Patch Set 2 : rebase + fix failures after rebase #Patch Set 3 : Test CheckResourceUrl only when GOOGLE_CHROME_BUILD is defined #Patch Set 4 : rebase #Patch Set 5 : Added comments for clarity #
Total comments: 4
Depends on Patchset: Messages
Total messages: 35 (25 generated)
The CQ bit was checked by vakh@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
rebase + fix failures after rebase
The CQ bit was checked by vakh@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
Test CheckResourceUrl only when GOOGLE_CHROME_BUILD is defined
The CQ bit was checked by vakh@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by vakh@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
rebase
The CQ bit was checked by vakh@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Tests for calling client methods: Check*Url Follow-up from CLs: - http://crrev.com/2675063002 - http://crrev.com/2684663002 BUG=682495 ========== to ========== Tests for calling client methods: Check*Url Part 1: http://crrev.com/2675063002 Part 2: http://crrev.com/2684663002 Part 3: http://crrev.com/2683813002 (this CL) BUG=682495 ==========
Added comments for clarity
The CQ bit was checked by vakh@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
vakh@chromium.org changed reviewers: + nparker@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2683813002/diff/80001/chrome/browser/safe_bro... File chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc (right): https://codereview.chromium.org/2683813002/diff/80001/chrome/browser/safe_bro... chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc:2029: TestV4StoreFactory* store_factory_; This isn't really owned... more of "leaked," ya? Not a big deal. https://codereview.chromium.org/2683813002/diff/80001/chrome/browser/safe_bro... chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc:2408: GURL badbin_url = embedded_test_server()->GetURL(kMalwareFile); What in these tests points it at Pver4 impl?
https://codereview.chromium.org/2683813002/diff/80001/chrome/browser/safe_bro... File chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc (right): https://codereview.chromium.org/2683813002/diff/80001/chrome/browser/safe_bro... chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc:2029: TestV4StoreFactory* store_factory_; On 2017/02/14 00:03:49, Nathan Parker wrote: > This isn't really owned... more of "leaked," ya? Not a big deal. Sort of, yes. From the perspective of this code, it is owned by V4Database because it sends the unique pointer over. That V4Database decides to leak it intentionally is an implementation detail of V4Database for this code. https://codereview.chromium.org/2683813002/diff/80001/chrome/browser/safe_bro... chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc:2408: GURL badbin_url = embedded_test_server()->GetURL(kMalwareFile); On 2017/02/14 00:03:49, Nathan Parker wrote: > What in these tests points it at Pver4 impl? void SetUp() override { sb_factory_ = base::MakeUnique<TestSafeBrowsingServiceFactory>( V4FeatureList::V4UsageStatus::V4_ONLY); ... ... }
lgtm
The CQ bit was checked by vakh@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 80001, "attempt_start_ts": 1487033643010890, "parent_rev": "b54401a5a1107d8440ddad54effecca920553fa6", "commit_rev": "dfca1068b4dee7a7959426a1f95960d49b023d4f"}
Message was sent while issue was closed.
Description was changed from ========== Tests for calling client methods: Check*Url Part 1: http://crrev.com/2675063002 Part 2: http://crrev.com/2684663002 Part 3: http://crrev.com/2683813002 (this CL) BUG=682495 ========== to ========== Tests for calling client methods: Check*Url Part 1: http://crrev.com/2675063002 Part 2: http://crrev.com/2684663002 Part 3: http://crrev.com/2683813002 (this CL) BUG=682495 Review-Url: https://codereview.chromium.org/2683813002 Cr-Commit-Position: refs/heads/master@{#450180} Committed: https://chromium.googlesource.com/chromium/src/+/dfca1068b4dee7a7959426a1f959... ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as https://chromium.googlesource.com/chromium/src/+/dfca1068b4dee7a7959426a1f959... |