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

Issue 2898443002: Implement GetBrowsingDataRemoverDelegate() for BrowserContext subclasses (Closed)

Created:
3 years, 7 months ago by msramek
Modified:
3 years, 6 months ago
CC:
alokp+watch_chromium.org, android-webview-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, halliwell+watch_chromium.org, jam, jochen+watch_chromium.org, lcwu+watch_chromium.org, markusheintz_, mlamouri+watch-content_chromium.org, msramek+watch_chromium.org, Peter Beverloo
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement GetBrowsingDataRemoverDelegate() for BrowserContext subclasses As a part of the refactoring to move BrowsingDataRemover to content/, the GetBrowsingDataRemoverDelegate() method has been defined in BrowserContext with a default "return nulltpr" implementation, overriden by ProfileImpl to return ChromeBrowsingDataRemoverDelegate. However, similar methods in BrowserContext do not have a default implementation, but are declared as pure virtual. We change this method to be pure virtual as well. ProfileImpl and OffTheRecordProfile use ChromeBrowsingDataRemoverDelegate. So does TestingProfile, which means that the helper TestingProfileWithDelegate can now be removed from ChromeBrowsingDataRemoverDelegateTest. All other subclasses return nullptr. BUG=668114 Review-Url: https://codereview.chromium.org/2898443002 Cr-Commit-Position: refs/heads/master@{#475885} Committed: https://chromium.googlesource.com/chromium/src/+/86b6bc73feadfa473080ed1e7ec8aebd38a1cc68

Patch Set 1 #

Patch Set 2 : Fixes #

Patch Set 3 : More fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -21 lines) Patch
M android_webview/browser/aw_browser_context.h View 1 chunk +2 lines, -0 lines 0 comments Download
M android_webview/browser/aw_browser_context.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/browsing_data/chrome_browsing_data_remover_delegate_unittest.cc View 2 chunks +1 line, -16 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/test/fake_profile.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/test/fake_profile.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 2 chunks +15 lines, -0 lines 0 comments Download
M chromecast/browser/cast_browser_context.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chromecast/browser/cast_browser_context.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/browser_context.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/browser_context.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/test_browser_context.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/test/test_browser_context.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M content/shell/browser/shell_browser_context.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/shell_browser_context.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M headless/lib/browser/headless_browser_context_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M headless/lib/browser/headless_browser_context_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (21 generated)
msramek
Hi folks, Please have a look! This is a trivial change, but spans a lot ...
3 years, 7 months ago (2017-05-19 16:51:10 UTC) #13
alokp
chromecast/ lgtm
3 years, 7 months ago (2017-05-19 16:57:22 UTC) #14
boliu
android_webview lgtm
3 years, 7 months ago (2017-05-19 17:33:32 UTC) #15
jochen (gone - plz use gerrit)
lgtm
3 years, 7 months ago (2017-05-22 11:47:39 UTC) #22
msramek
Sami - friendly ping :) This is a very small change.
3 years, 7 months ago (2017-05-24 14:00:51 UTC) #23
msramek
On 2017/05/24 14:00:51, msramek wrote: > Sami - friendly ping :) This is a very ...
3 years, 7 months ago (2017-05-26 13:45:22 UTC) #24
Sami
Apologies for the delay, I'm not sure this slipped by me. lgtm.
3 years, 6 months ago (2017-05-31 10:25:24 UTC) #25
msramek
Thanks!
3 years, 6 months ago (2017-05-31 10:31:20 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2898443002/40001
3 years, 6 months ago (2017-05-31 10:31:36 UTC) #28
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 12:21:33 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/86b6bc73feadfa473080ed1e7ec8...

Powered by Google App Engine
This is Rietveld 408576698