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

Issue 1165913004: Componentize StartupTaskRunnerService (Closed)

Created:
5 years, 6 months ago by sdefresne
Modified:
5 years, 6 months ago
CC:
chromium-reviews, noyau+watch_chromium.org, rginda+watch_chromium.org, browser-components-watch_chromium.org, grt+watch_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Componentize StartupTaskRunnerService Change constructor of StartupTaskRunnerService to directly receive the base::SequencedTaskRunner to use for the deferred task runner that is injected by the factory. Move the startup_task_runner_service.{cc,h} to //components/bookmarks and the factory to //chrome/browser/bookmarks as this code is only used by the bookmark code. BUG=485146 Committed: https://crrev.com/449b50e4c26610c0309fe6fc5159c66f1f5ecca3 Cr-Commit-Position: refs/heads/master@{#333705}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -182 lines) Patch
M chrome/browser/bookmarks/bookmark_model_factory.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + chrome/browser/bookmarks/startup_task_runner_service_factory.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/bookmarks/startup_task_runner_service_factory.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_browsertest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 3 chunks +2 lines, -2 lines 0 comments Download
D chrome/browser/profiles/startup_task_runner_service.h View 1 chunk +0 lines, -45 lines 0 comments Download
D chrome/browser/profiles/startup_task_runner_service.cc View 1 chunk +0 lines, -30 lines 0 comments Download
D chrome/browser/profiles/startup_task_runner_service_factory.h View 1 chunk +0 lines, -40 lines 0 comments Download
D chrome/browser/profiles/startup_task_runner_service_factory.cc View 1 chunk +0 lines, -35 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 2 chunks +2 lines, -4 lines 0 comments Download
M components/bookmarks.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/bookmarks/browser/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A + components/bookmarks/browser/startup_task_runner_service.h View 2 chunks +8 lines, -7 lines 2 comments Download
A + components/bookmarks/browser/startup_task_runner_service.cc View 2 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
sdefresne
noms@ can you review: chrome/browser/profiles/profile_browsertest.cc chrome/browser/profiles/profile_manager.cc chrome/browser/profiles/startup_task_runner_service.cc chrome/browser/profiles/startup_task_runner_service.h chrome/browser/profiles/startup_task_runner_service_factory.cc chrome/browser/profiles/startup_task_runner_service_factory.h shess@ can you review: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc ...
5 years, 6 months ago (2015-06-04 08:11:46 UTC) #2
sky
LGTM
5 years, 6 months ago (2015-06-04 19:32:43 UTC) #4
Scott Hess - ex-Googler
I was going to suggest simply removing the code from the safe-browsing test, but it ...
5 years, 6 months ago (2015-06-04 21:11:43 UTC) #5
sdefresne
noms: ping?
5 years, 6 months ago (2015-06-08 07:29:46 UTC) #6
sdefresne
-noms, +erg: please review as OWNERS of //chrome/browser/profiles
5 years, 6 months ago (2015-06-09 08:55:56 UTC) #8
Elliot Glaysher
lgtm
5 years, 6 months ago (2015-06-09 17:04:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1165913004/20001
5 years, 6 months ago (2015-06-10 08:02:10 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:20001)
5 years, 6 months ago (2015-06-10 09:12:41 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/449b50e4c26610c0309fe6fc5159c66f1f5ecca3 Cr-Commit-Position: refs/heads/master@{#333705}
5 years, 6 months ago (2015-06-10 09:13:43 UTC) #13
tfarina
https://codereview.chromium.org/1165913004/diff/20001/components/bookmarks/browser/startup_task_runner_service.h File components/bookmarks/browser/startup_task_runner_service.h (right): https://codereview.chromium.org/1165913004/diff/20001/components/bookmarks/browser/startup_task_runner_service.h#newcode20 components/bookmarks/browser/startup_task_runner_service.h:20: class StartupTaskRunnerService : public base::NonThreadSafe, Scott, should we put ...
5 years, 6 months ago (2015-06-10 23:18:26 UTC) #14
sky
5 years, 6 months ago (2015-06-10 23:37:02 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/1165913004/diff/20001/components/bookmarks/br...
File components/bookmarks/browser/startup_task_runner_service.h (right):

https://codereview.chromium.org/1165913004/diff/20001/components/bookmarks/br...
components/bookmarks/browser/startup_task_runner_service.h:20: class
StartupTaskRunnerService : public base::NonThreadSafe,
On 2015/06/10 23:18:26, tfarina wrote:
> Scott, should we put this in bookmarks namespace? If yes, I will do it.

Sure.

Powered by Google App Engine
This is Rietveld 408576698