|
Remove the refcount from ScriptBadgeController, which
required me to switch it from wrapping a ScriptExecutor to observing one.
Also write a simple test to demonstrate how to test ScriptBadgeController. This was the original point of the change. The associated refactoring turned out to be more useful, but was ultimately unnecessary for the test.
BUG= 133139, 136301
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145994
Total comments: 14
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+225 lines, -249 lines) |
Patch |
 |
M |
chrome/browser/extensions/extension_tab_helper.h
|
View
|
1
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_tab_helper.cc
|
View
|
1
2
|
4 chunks |
+6 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/script_badge_controller.h
|
View
|
1
2
3
|
4 chunks |
+12 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/script_badge_controller.cc
|
View
|
|
3 chunks |
+4 lines, -29 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/script_badge_controller_unittest.cc
|
View
|
1
2
|
1 chunk |
+125 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/script_executor.h
|
View
|
1
2
3
5
|
3 chunks |
+43 lines, -8 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/extensions/script_executor.cc
|
View
|
1
2
3
5
|
4 chunks |
+26 lines, -7 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/script_executor_impl.h
|
View
|
|
1 chunk |
+0 lines, -40 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/script_executor_impl.cc
|
View
|
|
1 chunk |
+0 lines, -108 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|