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

Issue 1110063004: [sync] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed)

Created:
5 years, 7 months ago by anujsharma
Modified:
5 years, 7 months ago
Reviewers:
maniscalco
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, maniscalco+watch_chromium.org, Pranay
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace MessageLoopProxy usage with ThreadTaskRunnerHandle in sync module. MessageLoopProxy is deprecated. This basically does a search and replace: MessageLoopProxy::current() -> ThreadTaskRunnerHandle::Get(). BUG=391045 Committed: https://crrev.com/171cdbe57a05e46d1e6a304f90eb2821a6e427bd Cr-Commit-Position: refs/heads/master@{#327662}

Patch Set 1 #

Patch Set 2 : Fixed build break #

Total comments: 7

Patch Set 3 : Fixed comments #

Patch Set 4 : Fixed build break #

Patch Set 5 : Fixed nits #

Patch Set 6 : Fixed suggestion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -9 lines) Patch
M sync/internal_api/public/util/weak_handle.h View 1 2 3 4 5 2 chunks +2 lines, -5 lines 0 comments Download
M sync/internal_api/public/util/weak_handle.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
anujsharma
PTAL
5 years, 7 months ago (2015-04-28 13:09:52 UTC) #2
maniscalco
https://codereview.chromium.org/1110063004/diff/20001/sync/internal_api/public/util/weak_handle.h File sync/internal_api/public/util/weak_handle.h (right): https://codereview.chromium.org/1110063004/diff/20001/sync/internal_api/public/util/weak_handle.h#newcode62 sync/internal_api/public/util/weak_handle.h:62: #include "base/thread_task_runner_handle.h" Is this include needed? https://codereview.chromium.org/1110063004/diff/20001/sync/internal_api/public/util/weak_handle.h#newcode66 sync/internal_api/public/util/weak_handle.h:66: class ...
5 years, 7 months ago (2015-04-28 18:27:29 UTC) #3
anujsharma
Thanks maniscalco for lgtm. I have made the changes!! PTAL https://codereview.chromium.org/1110063004/diff/20001/sync/internal_api/public/util/weak_handle.h File sync/internal_api/public/util/weak_handle.h (right): https://codereview.chromium.org/1110063004/diff/20001/sync/internal_api/public/util/weak_handle.h#newcode62 ...
5 years, 7 months ago (2015-04-29 05:08:05 UTC) #4
maniscalco
Thanks for doing this. LGTM modulo one comment... https://codereview.chromium.org/1110063004/diff/20001/sync/internal_api/public/util/weak_handle.h File sync/internal_api/public/util/weak_handle.h (right): https://codereview.chromium.org/1110063004/diff/20001/sync/internal_api/public/util/weak_handle.h#newcode66 sync/internal_api/public/util/weak_handle.h:66: class ...
5 years, 7 months ago (2015-04-29 15:23:16 UTC) #5
anujsharma
On 2015/04/29 15:23:16, maniscalco wrote: > Thanks for doing this. LGTM modulo one comment... > ...
5 years, 7 months ago (2015-04-30 06:00:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1110063004/100001
5 years, 7 months ago (2015-04-30 06:01:56 UTC) #9
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 7 months ago (2015-04-30 06:52:04 UTC) #10
commit-bot: I haz the power
5 years, 7 months ago (2015-04-30 06:52:54 UTC) #11
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/171cdbe57a05e46d1e6a304f90eb2821a6e427bd
Cr-Commit-Position: refs/heads/master@{#327662}

Powered by Google App Engine
This is Rietveld 408576698