|
|
Extension activity log database refactoring (step 3)
This is a continuation of work in
https://codereview.chromium.org/18660004/ and
https://codereview.chromium.org/19234003/.
Flatten the Extension::Action hierarchy, getting rid of all subclasses
and keeping just the top class. The new Action class has a number of
data fields (some optional), so any of the old extension actions can be
encoded into it. It maps in a straightforward fashion onto the current
database schema.
Change all the old sites that used specific Action subclasses to use the
new version, and fix up unit tests.
The extension activity log private API will be updated soon (by felt) to
more closely match the new Action class. There is some basic
compatibility in place so that the end-to-end tests still pass, but the
private API unit tests have been disabled pending the rewrite.
BUG= 255730
TBR=jhawkins@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213995
Total comments: 17
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+753 lines, -1335 lines) |
Patch |
 |
A |
chrome/browser/extensions/activity_log/activity_action_constants.h
|
View
|
1
2
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/extensions/activity_log/activity_action_constants.cc
|
View
|
1
2
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_actions.h
|
View
|
1
2
3
4
5
|
3 chunks |
+99 lines, -40 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_actions.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+310 lines, -28 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_database.h
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_database.cc
|
View
|
1
2
3
6
7
8
|
3 chunks |
+37 lines, -36 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_database_unittest.cc
|
View
|
1
2
3
|
11 chunks |
+84 lines, -209 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_log.h
|
View
|
1
2
|
2 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_log.cc
|
View
|
1
2
3
|
7 chunks |
+66 lines, -116 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_log_browsertest.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_log_policy.h
|
View
|
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/activity_log_unittest.cc
|
View
|
1
2
|
5 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/activity_log/api_actions.h
|
View
|
|
1 chunk |
+0 lines, -78 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/activity_log/api_actions.cc
|
View
|
|
1 chunk |
+0 lines, -257 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/activity_log/blocked_actions.h
|
View
|
|
1 chunk |
+0 lines, -64 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/activity_log/blocked_actions.cc
|
View
|
|
1 chunk |
+0 lines, -98 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/activity_log/dom_actions.h
|
View
|
|
1 chunk |
+0 lines, -67 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/activity_log/dom_actions.cc
|
View
|
1
|
1 chunk |
+0 lines, -151 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/fullstream_ui_policy.h
|
View
|
|
2 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/fullstream_ui_policy.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+10 lines, -112 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/fullstream_ui_policy_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+30 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/stream_noargs_ui_policy.h
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/stream_noargs_ui_policy.cc
|
View
|
|
1 chunk |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/activity_log/stream_noargs_ui_policy_unittest.cc
|
View
|
1
2
3
|
4 chunks |
+30 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/activity_log_private/activity_log_private_api_unittest.cc
|
View
|
1
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_function_dispatcher.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/chrome_render_message_filter.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
2
|
2 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
Total messages: 19 (0 generated)
|