Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: components/html_viewer/web_socket_handle_impl.cc

Issue 1290323002: HTMLViewer no longer connects to NetworkService interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/html_viewer/web_socket_handle_impl.h ('k') | mandoline/tab/frame_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/web_socket_handle_impl.cc
diff --git a/components/html_viewer/web_socket_handle_impl.cc b/components/html_viewer/web_socket_handle_impl.cc
index b062c77460d4a23af6c0c6d90bce3522b83dac77..d850ed5054bbadaa444ee3af6f43e8a69144d4ba 100644
--- a/components/html_viewer/web_socket_handle_impl.cc
+++ b/components/html_viewer/web_socket_handle_impl.cc
@@ -12,7 +12,7 @@
#include "components/html_viewer/blink_basic_type_converters.h"
#include "mojo/services/network/public/cpp/web_socket_read_queue.h"
#include "mojo/services/network/public/cpp/web_socket_write_queue.h"
-#include "mojo/services/network/public/interfaces/network_service.mojom.h"
+#include "mojo/services/network/public/interfaces/web_socket_factory.mojom.h"
#include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
#include "third_party/WebKit/public/platform/WebSocketHandleClient.h"
#include "third_party/WebKit/public/platform/WebString.h"
@@ -147,9 +147,9 @@ class WebSocketClientImpl : public mojo::WebSocketClient {
DISALLOW_COPY_AND_ASSIGN(WebSocketClientImpl);
};
-WebSocketHandleImpl::WebSocketHandleImpl(mojo::NetworkService* network_service)
+WebSocketHandleImpl::WebSocketHandleImpl(mojo::WebSocketFactory* factory)
: did_close_(false) {
- network_service->CreateWebSocket(GetProxy(&web_socket_));
+ factory->CreateWebSocket(GetProxy(&web_socket_));
}
WebSocketHandleImpl::~WebSocketHandleImpl() {
« no previous file with comments | « components/html_viewer/web_socket_handle_impl.h ('k') | mandoline/tab/frame_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698