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

Issue 2978843002: [Extensions][Task Scheduler] Migrate ExecuteCodeFunction (Closed)

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

Description

[Extensions][Task Scheduler] Migrate ExecuteCodeFunction Migrate ExecuteCodeFunction away from BrowserThread::PostTask to post a task to the FILE thread and instead use base::PostTask with MayBlock traits. Also avoid a double post and instead just use PostTask*AndReply. BUG=689520 Review-Url: https://codereview.chromium.org/2978843002 Cr-Commit-Position: refs/heads/master@{#486611} Committed: https://chromium.googlesource.com/chromium/src/+/498f93b1609fe139bd5fa863006afe627583de57

Patch Set 1 #

Total comments: 10

Patch Set 2 : Karan's #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -23 lines) Patch
M extensions/browser/api/execute_code_function.h View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M extensions/browser/api/execute_code_function.cc View 1 2 4 chunks +25 lines, -19 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
Devlin
karandeepb@, can you take a look?
3 years, 5 months ago (2017-07-13 00:53:40 UTC) #6
karandeepb
Also, the CL description makes it seems as if we are migrating away from using ...
3 years, 5 months ago (2017-07-13 01:47:49 UTC) #7
Devlin
https://codereview.chromium.org/2978843002/diff/1/extensions/browser/api/execute_code_function.cc File extensions/browser/api/execute_code_function.cc (right): https://codereview.chromium.org/2978843002/diff/1/extensions/browser/api/execute_code_function.cc#newcode55 extensions/browser/api/execute_code_function.cc:55: file_url_ = net::FilePathToFileURL(resource_.GetFilePath()); On 2017/07/13 01:47:48, karandeepb wrote: > ...
3 years, 5 months ago (2017-07-13 18:35:09 UTC) #8
karandeepb
LGTM but please also consider updating the CL description. My comment from previous review- "Also, ...
3 years, 5 months ago (2017-07-13 20:18:48 UTC) #9
Devlin
On 2017/07/13 20:18:48, karandeepb wrote: > please also consider updating the CL description. My comment ...
3 years, 5 months ago (2017-07-14 00:52:03 UTC) #15
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/2978843002/40001
3 years, 5 months ago (2017-07-14 00:53:48 UTC) #18
commit-bot: I haz the power
3 years, 5 months ago (2017-07-14 01:36:31 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/498f93b1609fe139bd5fa863006a...

Powered by Google App Engine
This is Rietveld 408576698