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

Issue 783963003: Removing HistoryService::profile() method (Closed)

Created:
6 years ago by Paritosh Kumar
Modified:
6 years ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Removing HistoryService::profile() method As per review comments on the issue https://codereview.chromium.org/573553004/#msg3 removing HistoryService::profile() method. BUG=430070 Committed: https://crrev.com/c358578aa24196c5be8bd22633517c640b13a108 Cr-Commit-Position: refs/heads/master@{#308132}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -31 lines) Patch
M chrome/browser/history/history_service.h View 1 2 3 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/last_download_finder.h View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc View 1 2 2 chunks +15 lines, -18 lines 1 comment Download

Messages

Total messages: 21 (7 generated)
Paritosh Kumar
Please have a look.
6 years ago (2014-12-10 15:25:48 UTC) #2
sdefresne
Please do not access private state of another class. Instead see recommendation in my comment. ...
6 years ago (2014-12-10 15:41:50 UTC) #3
Paritosh Kumar
Thanks sdefresne Updated as per your suggestion. Please have a look. https://codereview.chromium.org/783963003/diff/1/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc File chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc (right): ...
6 years ago (2014-12-11 11:49:55 UTC) #4
sdefresne
https://codereview.chromium.org/783963003/diff/20001/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc File chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc (right): https://codereview.chromium.org/783963003/diff/20001/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc#newcode249 chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc:249: void LastDownloadFinder::OnProfileHistoryLoaded( This method is no longer called. Remove.
6 years ago (2014-12-11 12:43:08 UTC) #5
Paritosh Kumar
Thanks Updted as suggested. PTAL. https://codereview.chromium.org/783963003/diff/20001/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc File chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc (right): https://codereview.chromium.org/783963003/diff/20001/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc#newcode249 chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc:249: void LastDownloadFinder::OnProfileHistoryLoaded( On 2014/12/11 ...
6 years ago (2014-12-11 13:13:56 UTC) #6
sdefresne
lgtm Thank you for the patch.
6 years ago (2014-12-11 15:14:26 UTC) #7
Paritosh Kumar
@mattm, @jochen, @avi :- Please have a look on browser/safe-browsing area. -Paritosh
6 years ago (2014-12-11 16:52:56 UTC) #9
Paritosh Kumar
@sky-Please have a look on browser/safe-browsing parts. -Paritosh
6 years ago (2014-12-11 18:33:10 UTC) #12
sky
https://codereview.chromium.org/783963003/diff/40001/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc File chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc (right): https://codereview.chromium.org/783963003/diff/40001/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc#newcode326 chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc:326: HistoryService* hs = HistoryServiceFactory::GetForProfileIfExists( IMO the old way is ...
6 years ago (2014-12-11 19:23:49 UTC) #14
sdefresne
On 2014/12/11 at 19:23:49, sky wrote: > https://codereview.chromium.org/783963003/diff/40001/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc > File chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc (right): > > https://codereview.chromium.org/783963003/diff/40001/chrome/browser/safe_browsing/incident_reporting/last_download_finder.cc#newcode326 ...
6 years ago (2014-12-12 10:00:25 UTC) #15
sky
I was afraid it was something like that. *SIGH* LGTM
6 years ago (2014-12-12 16:27:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/783963003/40001
6 years ago (2014-12-12 17:37:00 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-12 18:54:49 UTC) #20
commit-bot: I haz the power
6 years ago (2014-12-12 18:56:04 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c358578aa24196c5be8bd22633517c640b13a108
Cr-Commit-Position: refs/heads/master@{#308132}

Powered by Google App Engine
This is Rietveld 408576698