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

Issue 305443004: Introduce HistoryClient interface (Closed)

Created:
6 years, 7 months ago by sdefresne
Modified:
6 years, 6 months ago
Reviewers:
Nicolas Zea, sky, blundell
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, browser-components-watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@371825
Visibility:
Public.

Description

Introduce HistoryClient interface Introduce the HistoryClient interface that will abstract the embedder for the history component. The implementation in //chrome ChromeHistoryClient owns the HistoryService and implements the KeyedService interface. BUG=371825 TBR=sky, zea Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273846

Patch Set 1 #

Total comments: 20

Patch Set 2 : Address comments #

Total comments: 1

Patch Set 3 : Introduce chrome_history_client #

Total comments: 4

Patch Set 4 : Rebase #

Patch Set 5 : Reupload with --no-find-copies #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -9 lines) Patch
M chrome/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/history/chrome_history_client.h View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/browser/history/chrome_history_client.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/browser/history/chrome_history_client_factory.h View 1 2 3 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/history/chrome_history_client_factory.cc View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
M chrome/browser/history/history_service.h View 1 2 3 5 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/history/history_service.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/history/history_service_factory.cc View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_typed_url_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/components.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A components/history.gypi View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download
A components/history/DEPS View 1 1 chunk +3 lines, -0 lines 0 comments Download
A components/history/OWNERS View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
A components/history/core/browser/history_client.h View 1 2 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
sdefresne
As asked in https://codereview.chromium.org/285233012, this is the CL that just introduce HistoryClient and change the ...
6 years, 7 months ago (2014-05-26 16:31:06 UTC) #1
blundell
https://codereview.chromium.org/305443004/diff/1/chrome/browser/history/chrome_history_client.h File chrome/browser/history/chrome_history_client.h (right): https://codereview.chromium.org/305443004/diff/1/chrome/browser/history/chrome_history_client.h#newcode18 chrome/browser/history/chrome_history_client.h:18: class ChromeHistoryClient : public HistoryClient, should have a class ...
6 years, 7 months ago (2014-05-27 09:56:38 UTC) #2
sdefresne
PTAL https://codereview.chromium.org/305443004/diff/1/chrome/browser/history/chrome_history_client.h File chrome/browser/history/chrome_history_client.h (right): https://codereview.chromium.org/305443004/diff/1/chrome/browser/history/chrome_history_client.h#newcode18 chrome/browser/history/chrome_history_client.h:18: class ChromeHistoryClient : public HistoryClient, On 2014/05/27 09:56:38, ...
6 years, 6 months ago (2014-05-28 17:10:41 UTC) #3
blundell
LGTM! https://codereview.chromium.org/305443004/diff/60001/chrome/browser/history/history_service.h File chrome/browser/history/history_service.h (right): https://codereview.chromium.org/305443004/diff/60001/chrome/browser/history/history_service.h#newcode97 chrome/browser/history/history_service.h:97: // must be valid for the whole life ...
6 years, 6 months ago (2014-05-30 12:19:03 UTC) #4
sdefresne
https://codereview.chromium.org/305443004/diff/80001/chrome/browser/history/chrome_history_client_factory.h File chrome/browser/history/chrome_history_client_factory.h (right): https://codereview.chromium.org/305443004/diff/80001/chrome/browser/history/chrome_history_client_factory.h#newcode14 chrome/browser/history/chrome_history_client_factory.h:14: // Singleton that owns all HistoryClient and associates them ...
6 years, 6 months ago (2014-05-30 12:42:14 UTC) #5
sdefresne
TBR=sky for OWNERS of //chrome/test and //chrome/browser/DEPS TBR=zea for OWNERS of //chrome/browser/sync
6 years, 6 months ago (2014-05-30 12:54:56 UTC) #6
sdefresne
The CQ bit was checked by sdefresne@chromium.org
6 years, 6 months ago (2014-05-30 12:57:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sdefresne@chromium.org/305443004/120001
6 years, 6 months ago (2014-05-30 12:58:15 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 15:43:19 UTC) #9
Message was sent while issue was closed.
Change committed as 273846

Powered by Google App Engine
This is Rietveld 408576698