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

Issue 10399087: Converting BookmarkModel and HistoryService to ProfileKeyedServices. This just performs the initial… (Closed)

Created:
8 years, 7 months ago by rpetterson
Modified:
8 years, 6 months ago
Reviewers:
Elliot Glaysher, sky
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Converting BookmarkModel and HistoryService to ProfileKeyedServices. This just performs the initial conversion. Separate CLs to take care of the removal of profile_->Get<Serivce> will follow. BUG=97804, 112525 TEST=no new, passes existing unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138867 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141294

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 8

Patch Set 5 : #

Patch Set 6 : sync with current library #

Patch Set 7 : compile errors and one runtime error #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -111 lines) Patch
M chrome/browser/bookmarks/bookmark_expanded_state_tracker.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_model.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -13 lines 0 comments Download
A chrome/browser/bookmarks/bookmark_model_factory.h View 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/bookmarks/bookmark_model_factory.cc View 1 chunk +58 lines, -0 lines 0 comments Download
M chrome/browser/history/history.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/history/history.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +19 lines, -0 lines 0 comments Download
A chrome/browser/history/history_service_factory.h View 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/browser/history/history_service_factory.cc View 1 2 3 1 chunk +70 lines, -0 lines 0 comments Download
M chrome/browser/history/in_memory_url_index.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +5 lines, -44 lines 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/test/base/testing_profile.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -8 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +56 lines, -28 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
rpetterson
erg - profiles sky - history, bookmarks, test http://codereview.chromium.org/10399087/diff/5003/chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc File chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc (right): http://codereview.chromium.org/10399087/diff/5003/chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc#newcode16 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc:16: BookmarkModel* ...
8 years, 7 months ago (2012-05-18 22:32:44 UTC) #1
Elliot Glaysher
profile lgtm
8 years, 7 months ago (2012-05-18 22:42:04 UTC) #2
sky
http://codereview.chromium.org/10399087/diff/5003/chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc File chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc (right): http://codereview.chromium.org/10399087/diff/5003/chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc#newcode25 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc:25: void BookmarkExpandedStateTracker::Cleanup() { Move this to BookmarkModelBeingDeleted http://codereview.chromium.org/10399087/diff/5003/chrome/browser/prefs/browser_prefs.cc File ...
8 years, 7 months ago (2012-05-21 14:23:06 UTC) #3
rpetterson
http://codereview.chromium.org/10399087/diff/5003/chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc File chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc (right): http://codereview.chromium.org/10399087/diff/5003/chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc#newcode25 chrome/browser/bookmarks/bookmark_expanded_state_tracker.cc:25: void BookmarkExpandedStateTracker::Cleanup() { On 2012/05/21 14:23:06, sky wrote: > ...
8 years, 7 months ago (2012-05-21 18:01:49 UTC) #4
sky
LGTM http://codereview.chromium.org/10399087/diff/5003/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (left): http://codereview.chromium.org/10399087/diff/5003/chrome/browser/profiles/profile_impl.cc#oldcode537 chrome/browser/profiles/profile_impl.cc:537: // HistoryService may call into the BookmarkModel, as ...
8 years, 7 months ago (2012-05-21 20:37:17 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/10399087/17001
8 years, 7 months ago (2012-05-24 00:30:14 UTC) #6
commit-bot: I haz the power
Try job failure for 10399087-17001 (retry) on win_rel for step "update". It's a second try, ...
8 years, 7 months ago (2012-05-24 05:23:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/10399087/17001
8 years, 7 months ago (2012-05-24 18:16:15 UTC) #8
commit-bot: I haz the power
Change committed as 138867
8 years, 7 months ago (2012-05-24 19:46:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlp@chromium.org/10399087/55001
8 years, 6 months ago (2012-06-08 20:58:44 UTC) #10
commit-bot: I haz the power
8 years, 6 months ago (2012-06-08 21:54:26 UTC) #11
Change committed as 141294

Powered by Google App Engine
This is Rietveld 408576698