|
Pull AsyncApiFunction out of src/chrome
AsyncApiFunction now inherits UIThreadExtensionFunction directly, rather
than depending on ChromeAsyncExtensionFunction. It's also been moved from
chrome/browser/extensions/api/api_function.{h,cc} to
extensions/browser/api/async_api_function.{h,cc}.
With the exception of notifications API functions, anything which previously
depended on AsyncApiFunction's inheritance of ChromeAsyncExtensionFunction
was doing so only for GetProfile. In all cases, GetProfile() has been replaced
with ExtensionFunction::browser_context() (renamed from context()).
Finally, ApiFunction has been removed since it was identical to
ChromeAsyncExtensionFunction.
BUG= 346949
TBR=dmazzoni@chromium.org,mfoltz@chromium.org,fgorski@chromium.org,courage@chromium.org,dewittj@chromium.org,rpaquay@chromium.org,kalman@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254113
Total comments: 9
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+177 lines, -332 lines) |
Patch |
 |
D |
chrome/browser/extensions/api/api_function.h
|
View
|
|
1 chunk |
+0 lines, -69 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/api/api_function.cc
|
View
|
|
1 chunk |
+0 lines, -79 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bluetooth/bluetooth_api.h
|
View
|
1
2
3
4
5
6
|
5 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
|
View
|
1
2
3
4
5
6
|
15 chunks |
+30 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bluetooth/bluetooth_event_router.h
|
View
|
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bluetooth/bluetooth_event_router.cc
|
View
|
1
2
3
|
5 chunks |
+14 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bluetooth/bluetooth_extension_function.cc
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/braille_display_private/braille_display_private_api.h
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/cast_channel/cast_channel_api.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/cast_channel/cast_channel_api.cc
|
View
|
1
2
4
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/diagnostics/diagnostics_api.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/dial/dial_api.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/dial/dial_api.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/dial/dial_api_factory.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/dial/dial_api_factory.cc
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/dial/dial_apitest.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/gcm/gcm_api.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/hid/hid_api.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/hid/hid_api.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/identity/identity_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/notifications/notifications_api.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/notifications/notifications_api.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/serial/serial_api.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/serial/serial_api.cc
|
View
|
1
2
3
4
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/socket/socket_api.h
|
View
|
|
4 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/socket/socket_api.cc
|
View
|
1
2
4
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/socket/socket_api_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api.cc
|
View
|
1
2
4
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/sockets_tcp/sockets_tcp_api_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/sockets_tcp/tcp_socket_event_dispatcher.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_api.cc
|
View
|
1
2
4
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/sockets_tcp_server/sockets_tcp_server_api_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/sockets_udp/sockets_udp_api.cc
|
View
|
1
2
4
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/sockets_udp/sockets_udp_api_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/sockets_udp/udp_socket_event_dispatcher.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/storage/storage_api.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/usb/usb_api.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/usb/usb_api.cc
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_function_dispatcher.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_function_test_utils.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/async_api_function.h
|
View
|
1
|
2 chunks |
+6 lines, -15 lines |
0 comments
|
Download
|
 |
A + |
extensions/browser/api/async_api_function.cc
|
View
|
1
|
4 chunks |
+14 lines, -25 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/extension_function.h
|
View
|
1
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/extensions.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 24 (0 generated)
|