|
Refactor extension_function_dispatcher to extract ExtensionFunctionRegistry. This allows us to generate an additional code block that takes an ExtensionFunctionRegistry and asks it to register generated API functions.
Then switch DnsResolve over to get registered this way.
Along the way, notice that DNSResolve is capitalized using an untenable style. Fix that.
BUG=none (essential plumbing work)
TEST=same as before
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127159
Total comments: 2
Total comments: 3
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+322 lines, -929 lines) |
Patch |
|
M |
build/json_schema_compile.gypi
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/api/dns/dns_api.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/api/dns/dns_api.cc
|
View
|
|
6 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/api/dns/dns_apitest.cc
|
View
|
|
7 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/extension_function_dispatcher.cc
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -527 lines |
0 comments
|
Download
|
|
A |
chrome/browser/extensions/extension_function_registry.h
|
View
|
1
2
3
4
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/extensions/extension_function_registry.cc
|
View
|
1
2
3
4
|
8 chunks |
+19 lines, -334 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_extensions.gypi
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/compiler.py
|
View
|
1
2
3
|
4 chunks |
+72 lines, -23 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/cpp_type_generator.py
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/cpp_util.py
|
View
|
1
2
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
tools/json_schema_compiler/h_bundle_generator.py
|
View
|
1
2
3
4
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/h_generator.py
|
View
|
|
2 chunks |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/test/json_schema_compiler_tests.gyp
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|