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

Issue 8502031: Refactor ProfileManager::DoFinalInit(...) to allow for a more flexible ProfileManagerWithoutInit.... (Closed)

Created:
9 years, 1 month ago by jwd
Modified:
9 years, 1 month ago
Reviewers:
Robert Sesek, sail
CC:
chromium-reviews, rginda+watch_chromium.org, achuith+watch_chromium.org
Visibility:
Public.

Description

Refactor ProfileManager::DoFinalInit(...) to allow for a more flexible ProfileManagerWithoutInit. Factored out the parts of DoFinalInit that are not desired in ProfileManagerWithoutInit and for ProfileManager unit tests. This is to make it possible to write unit tests for code that belongs in DoFinalInit, such as setting up the ProfileInfoCache entry for a profile. BUG=NONE TEST=unit_tests --gtest_filter=ProfileManager* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109647

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M chrome/browser/profiles/profile_manager.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_manager.cc View 1 2 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
jwd
9 years, 1 month ago (2011-11-09 18:35:04 UTC) #1
Robert Sesek
Also, I think the TEST= line is "unit_tests --gtest_filter=ProfileManager*" http://codereview.chromium.org/8502031/diff/4001/chrome/browser/profiles/profile_manager.cc File chrome/browser/profiles/profile_manager.cc (right): http://codereview.chromium.org/8502031/diff/4001/chrome/browser/profiles/profile_manager.cc#newcode470 chrome/browser/profiles/profile_manager.cc:470: ...
9 years, 1 month ago (2011-11-09 19:07:46 UTC) #2
jwd
Made the changes. On 2011/11/09 19:07:46, rsesek wrote: > Also, I think the TEST= line ...
9 years, 1 month ago (2011-11-09 20:57:22 UTC) #3
jwd
Oops, forgot the TEST field change. Made that now On 2011/11/09 20:57:22, Jesse Doherty wrote: ...
9 years, 1 month ago (2011-11-09 20:59:35 UTC) #4
Robert Sesek
lgtm
9 years, 1 month ago (2011-11-10 15:55:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jwd@chromium.org/8502031/9001
9 years, 1 month ago (2011-11-10 15:59:50 UTC) #6
commit-bot: I haz the power
Presubmit check for 8502031-9001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-10 15:59:56 UTC) #7
jwd
9 years, 1 month ago (2011-11-10 16:05:17 UTC) #8
sail
lgtm
9 years, 1 month ago (2011-11-10 23:02:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jwd@chromium.org/8502031/9001
9 years, 1 month ago (2011-11-11 16:19:17 UTC) #10
commit-bot: I haz the power
9 years, 1 month ago (2011-11-11 17:26:31 UTC) #11
Change committed as 109647

Powered by Google App Engine
This is Rietveld 408576698