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

Issue 16766003: Move ProfileLoader to chrome/browser/profiles. (Closed)

Created:
7 years, 6 months ago by jackhou1
Modified:
7 years, 6 months ago
Reviewers:
tapted, benwells, sail
CC:
chromium-reviews, tfarina, sail+watch_chromium.org, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Move ProfileLoader to chrome/browser/profiles. The class fits better here because it only deals with profiles. Added profile_loader_unittest.cc BUG=168080 TEST=There should be no change in behavior. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207745

Patch Set 1 #

Total comments: 4

Patch Set 2 : Move profile_loader to apps/. Check if profile_dir is valid before loading. #

Patch Set 3 : Put ProfileLoader in namespace apps #

Patch Set 4 : Move ProfileLoader to chrome/browser/profiles/ #

Total comments: 8

Patch Set 5 : Take AppShimHost changes out of this CL. Add profile_loader_unittest. #

Total comments: 2

Patch Set 6 : Update class comment. #

Patch Set 7 : Fix test #

Patch Set 8 : Sync and rebase #

Patch Set 9 : Sync and rebase #

Patch Set 10 : #ifdef out chrome::(Start|End)KeepAlive on android #

Patch Set 11 : gyp-def out profile_loader* on android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -145 lines) Patch
A + chrome/browser/profiles/profile_loader.h View 1 2 3 4 5 4 chunks +22 lines, -5 lines 0 comments Download
A + chrome/browser/profiles/profile_loader.cc View 1 2 3 4 10 3 chunks +21 lines, -5 lines 0 comments Download
A chrome/browser/profiles/profile_loader_unittest.cc View 1 2 3 4 5 6 1 chunk +132 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_impl.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/ui/app_list/profile_loader.h View 1 1 chunk +0 lines, -48 lines 0 comments Download
D chrome/browser/ui/app_list/profile_loader.cc View 1 1 chunk +0 lines, -83 lines 0 comments Download
M chrome/browser/ui/views/app_list/app_list_controller_win.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
jackhou1
7 years, 6 months ago (2013-06-11 04:35:57 UTC) #1
tapted
+chrome-apps-syd-reviews app_lists's profile_loader.h relies on some guarantee that the profile path actually exists, before trying ...
7 years, 6 months ago (2013-06-11 05:31:44 UTC) #2
jackhou1
On 2013/06/11 05:31:44, tapted wrote: > +chrome-apps-syd-reviews > > app_lists's profile_loader.h relies on some guarantee ...
7 years, 6 months ago (2013-06-12 07:47:33 UTC) #3
benwells
On 2013/06/12 07:47:33, jackhou1 wrote: > On 2013/06/11 05:31:44, tapted wrote: > > +chrome-apps-syd-reviews > ...
7 years, 6 months ago (2013-06-12 08:14:19 UTC) #4
jackhou1
This now uses ProfileInfoCache to check if a profile_dir is valid before trying to load ...
7 years, 6 months ago (2013-06-12 09:41:32 UTC) #5
jackhou1
sail, could you please review for OWNERS in chrome/browser/profile/
7 years, 6 months ago (2013-06-13 03:20:49 UTC) #6
jackhou1
On 2013/06/13 03:20:49, jackhou1 wrote: > sail, could you please review for OWNERS in chrome/browser/profile/ ...
7 years, 6 months ago (2013-06-13 03:54:33 UTC) #7
sail
Is it possible to test ProfileLoader in a unit_test with a testing profile? https://codereview.chromium.org/16766003/diff/21001/chrome/browser/profiles/profile_loader.cc File ...
7 years, 6 months ago (2013-06-13 15:10:16 UTC) #8
jackhou1
I've removed the AppShimHost changes, so this CL is just for moving profile_loader. Added a ...
7 years, 6 months ago (2013-06-14 09:13:28 UTC) #9
sail
profiles/* LGTM https://codereview.chromium.org/16766003/diff/29001/chrome/browser/profiles/profile_loader.h File chrome/browser/profiles/profile_loader.h (right): https://codereview.chromium.org/16766003/diff/29001/chrome/browser/profiles/profile_loader.h#newcode20 chrome/browser/profiles/profile_loader.h:20: // the profile is ready. Only the ...
7 years, 6 months ago (2013-06-14 17:05:46 UTC) #10
jackhou1
https://codereview.chromium.org/16766003/diff/29001/chrome/browser/profiles/profile_loader.h File chrome/browser/profiles/profile_loader.h (right): https://codereview.chromium.org/16766003/diff/29001/chrome/browser/profiles/profile_loader.h#newcode20 chrome/browser/profiles/profile_loader.h:20: // the profile is ready. Only the callback for ...
7 years, 6 months ago (2013-06-17 04:40:15 UTC) #11
jackhou1
tapted, benwells, PTAL
7 years, 6 months ago (2013-06-17 04:41:23 UTC) #12
tapted
Perhaps set BUG=168080, and a TEST= line mentioning the added unit test, Otherwise lgtm
7 years, 6 months ago (2013-06-17 05:03:54 UTC) #13
benwells
On 2013/06/17 05:03:54, tapted wrote: > Perhaps set BUG=168080, and a TEST= line mentioning the ...
7 years, 6 months ago (2013-06-18 05:21:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/16766003/51001
7 years, 6 months ago (2013-06-18 06:47:27 UTC) #15
jackhou1
On 2013/06/18 05:21:54, benwells wrote: > On 2013/06/17 05:03:54, tapted wrote: > > Perhaps set ...
7 years, 6 months ago (2013-06-18 06:47:28 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-18 07:05:47 UTC) #17
jackhou1
sail, benwells, PTAL at the #ifdef for android.
7 years, 6 months ago (2013-06-19 06:58:18 UTC) #18
benwells
lgtm. Another option would be to gyp-def it out on android, but the way you've ...
7 years, 6 months ago (2013-06-19 09:13:44 UTC) #19
sail
On 2013/06/19 09:13:44, benwells wrote: > lgtm. > > Another option would be to gyp-def ...
7 years, 6 months ago (2013-06-19 19:44:28 UTC) #20
jackhou1
sail, PTAL
7 years, 6 months ago (2013-06-20 10:09:27 UTC) #21
sail
lgtm
7 years, 6 months ago (2013-06-20 15:32:23 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/16766003/91002
7 years, 6 months ago (2013-06-20 23:13:42 UTC) #23
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 07:15:48 UTC) #24
Message was sent while issue was closed.
Change committed as 207745

Powered by Google App Engine
This is Rietveld 408576698