|
Websocket to TCP proxy running in a separate thread (only on ChromeOS).
With this webproxy: authorized extensions can connect to ws://127.0.0.1:10101/tcpproxy,
pass authorization_token:hostname:port: in first frame,
then webproxy establishes TCP connection to hostname:port and forwards any subsequent
communication.
Subsequent communication between extension and webproxy is base64-encoded.
TODO(dilmah): remove this temporary solution, get rid of separate thread and listening socket,
instead provide the same functionality via hooks into websocket layer.
BUG= chromium-os:9667
TEST=Manual
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84795
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1571 lines, -1 line) |
Patch |
 |
M |
chrome/browser/browser_main.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chromeos/web_socket_proxy.h
|
View
|
1
2
3
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chromeos/web_socket_proxy.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1290 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chromeos/web_socket_proxy_controller.h
|
View
|
1
2
3
4
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chromeos/web_socket_proxy_controller.cc
|
View
|
1
2
3
4
|
1 chunk |
+110 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/testing_browser_process.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/testing_browser_process.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_thread.h
|
View
|
1
2
3
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_thread.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/notification_type.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/libevent/chromium.patch
|
View
|
1
2
3
4
5
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/libevent/evdns.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|