|
|
Move NetworkingPrivateDelegate::CryptoVerify to networking_cast_private
Retires NetworkingPrivateDelegate::CryptoVerify and moves verification
logic to ChromeNetworkingCastPrivateDelegate. Moves networkingPrivate
API to use the NetworkingCastPrivateDelegate interface to delegate
verification methods to chrome.
Along the way, done some minor cleanup:
- Make NetworkingCastPrivateDelegate take API agnostic argument for
verification properties - Credentials, which used to be part of the
//chrome CryptoVerify implementation, this CL moves the declaration
to the interface - the object is now created by the delegate users
before calling verification methods (it can be created from both
networkingPrivate and networking.castPrivate API verification
properties)
- Make Credentials non-copyable - instead of copying the whole class.
the credentials are now passed to a worker thread using a unique_ptr
- Clean up the way DecodeAndVerifyCredentials helperr method returns
results - instead of combination of bool return value and bool ptr
argument, it now returns a 3-value enum.
Next: move networking_private credentials getters and crypto util
to networking_cast_private
BUG= 678737
Review-Url: https://codereview.chromium.org/2751423004
Cr-Commit-Position: refs/heads/master@{#459180}
Committed: https://chromium.googlesource.com/chromium/src/+/a0d155d336a59388f84140f7b4c4f79cb1f36e40
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+614 lines, -727 lines) |
Patch |
 |
M |
chrome/browser/extensions/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/networking_cast_private/chrome_networking_cast_private_delegate.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+11 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/networking_cast_private/chrome_networking_cast_private_delegate.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+181 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/networking_cast_private/networking_cast_private_api.cc
|
View
|
1
2
|
5 chunks |
+13 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/networking_cast_private/networking_cast_private_apitest.cc
|
View
|
1
2
|
3 chunks |
+30 lines, -16 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/api/networking_private/crypto_verify_impl.h
|
View
|
|
1 chunk |
+0 lines, -64 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/api/networking_private/crypto_verify_impl.cc
|
View
|
|
1 chunk |
+0 lines, -243 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/networking_private/networking_private_apitest.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+112 lines, -47 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/networking_private/networking_private_chromeos_apitest.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+63 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/networking_private/networking_private_service_client_apitest.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+62 lines, -16 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/api/networking_private/networking_private_verify_delegate_factory_impl.h
|
View
|
|
1 chunk |
+0 lines, -28 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/extensions/api/networking_private/networking_private_verify_delegate_factory_impl.cc
|
View
|
|
1 chunk |
+0 lines, -30 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc
|
View
|
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_cast_private_delegate.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+47 lines, -11 lines |
0 comments
|
Download
|
 |
A |
extensions/browser/api/networking_private/networking_cast_private_delegate.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_api.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_api.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+44 lines, -24 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_chromeos.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_chromeos.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_delegate.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+1 line, -57 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_delegate.cc
|
View
|
|
2 chunks |
+1 line, -47 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_delegate_factory.h
|
View
|
|
3 chunks |
+0 lines, -14 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_delegate_factory.cc
|
View
|
|
3 chunks |
+3 lines, -21 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_linux.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_linux.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_service_client.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/api/networking_private/networking_private_service_client.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
Total messages: 38 (28 generated)
|