|
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
|
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
|
Total messages: 31 (21 generated)
|