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

Unified Diff: components/web_view/web_view_application_delegate.cc

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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/web_view/web_view_application_delegate.h ('k') | components/web_view/web_view_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/web_view_application_delegate.cc
diff --git a/components/web_view/web_view_application_delegate.cc b/components/web_view/web_view_application_delegate.cc
deleted file mode 100644
index 1c9c5c76e30dd48a20d6f3978785a0e410ad970e..0000000000000000000000000000000000000000
--- a/components/web_view/web_view_application_delegate.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/web_view/web_view_application_delegate.h"
-
-#include <utility>
-
-#include "components/web_view/web_view_impl.h"
-#include "mojo/shell/public/cpp/connection.h"
-
-namespace web_view {
-
-WebViewApplicationDelegate::WebViewApplicationDelegate() : shell_(nullptr) {}
-WebViewApplicationDelegate::~WebViewApplicationDelegate() {}
-
-void WebViewApplicationDelegate::Initialize(mojo::Shell* shell,
- const std::string& url,
- uint32_t id) {
- shell_ = shell;
- tracing_.Initialize(shell, url);
-}
-
-bool WebViewApplicationDelegate::AcceptConnection(
- mojo::Connection* connection) {
- connection->AddService<mojom::WebViewFactory>(this);
- return true;
-}
-
-void WebViewApplicationDelegate::CreateWebView(
- mojom::WebViewClientPtr client,
- mojo::InterfaceRequest<mojom::WebView> web_view) {
- new WebViewImpl(shell_, std::move(client), std::move(web_view));
-}
-
-void WebViewApplicationDelegate::Create(
- mojo::Connection* connection,
- mojo::InterfaceRequest<mojom::WebViewFactory> request) {
- factory_bindings_.AddBinding(this, std::move(request));
-}
-
-} // namespace web_view
« no previous file with comments | « components/web_view/web_view_application_delegate.h ('k') | components/web_view/web_view_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698