|
Refactor WebResourceService class, making it more generic. Move all the promo-related code into a new PromoResourceService class that inherits WebResourceService.
This refactoring will allow us to re-use WebResourceService class for GPU Blacklist updates purpose.
This CL tries to minimize the code change and adds no new logic.
BUG= 68802
TEST=unittest,promo functions working fine as before.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75403
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+809 lines, -703 lines) |
Patch |
 |
M |
chrome/browser/dom_ui/new_tab_ui.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/dom_ui/ntp_resource_cache.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/dom_ui/tips_handler.cc
|
View
|
1
|
5 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_manager.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
chrome/browser/web_resource/promo_resource_service.h
|
View
|
1
|
1 chunk |
+149 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/web_resource/promo_resource_service.cc
|
View
|
1
2
3
|
1 chunk |
+358 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/web_resource/promo_resource_service_unittest.cc
|
View
|
1
|
1 chunk |
+173 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/web_resource/web_resource_service.h
|
View
|
1
2
3
|
5 chunks |
+37 lines, -137 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/web_resource/web_resource_service.cc
|
View
|
1
|
9 chunks |
+51 lines, -355 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/web_resource/web_resource_service_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -173 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/notification_type.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.cc
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/test/testing_profile.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|