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

Issue 2654113003: Move rest of param validation in browsing_data_api.cc to ::RunAsync. (Closed)

Created:
3 years, 11 months ago by lazyboy
Modified:
3 years, 10 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move rest of param validation in browsing_data_api.cc to ::RunAsync. It's a bit cleaner to call EXTENSION_FUNCTION_VALIDATE directly from ::Run*. (ab)using EXTENSION_FUNCTION_VALIDATE's implicit bool conversion as return value for non-Run* functions is discouraged. BUG=648275 Test=None Review-Url: https://codereview.chromium.org/2654113003 Cr-Commit-Position: refs/heads/master@{#446883} Committed: https://chromium.googlesource.com/chromium/src/+/9bfcba8467532d955f1178b70c4e3b88e6e5f23e

Patch Set 1 #

Patch Set 2 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -19 lines) Patch
M chrome/browser/extensions/api/browsing_data/browsing_data_api.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/browsing_data/browsing_data_api.cc View 1 2 chunks +29 lines, -17 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
lazyboy
3 years, 11 months ago (2017-01-27 03:36:21 UTC) #3
Devlin
lgtm
3 years, 10 months ago (2017-01-27 17:44:06 UTC) #4
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/2654113003/1
3 years, 10 months ago (2017-01-27 18:13:04 UTC) #6
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/api/browsing_data/browsing_data_api.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-01-27 19:57:53 UTC) #8
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/2654113003/20001
3 years, 10 months ago (2017-01-28 01:18:35 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-01-28 02:09:48 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/9bfcba8467532d955f1178b70c4e...

Powered by Google App Engine
This is Rietveld 408576698