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

Unified Diff: components/html_viewer/content_handler_impl.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/html_viewer/content_handler_impl.h ('k') | components/html_viewer/devtools_agent_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/html_viewer/content_handler_impl.cc
diff --git a/components/html_viewer/content_handler_impl.cc b/components/html_viewer/content_handler_impl.cc
deleted file mode 100644
index 0b3b2ef93112f36914ef9bd80d831efe31e2426b..0000000000000000000000000000000000000000
--- a/components/html_viewer/content_handler_impl.cc
+++ /dev/null
@@ -1,35 +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/html_viewer/content_handler_impl.h"
-
-#include <utility>
-
-#include "components/html_viewer/html_document_application_delegate.h"
-
-namespace html_viewer {
-
-ContentHandlerImpl::ContentHandlerImpl(
- GlobalState* global_state,
- mojo::Shell* shell,
- mojo::InterfaceRequest<mojo::shell::mojom::ContentHandler> request)
- : global_state_(global_state),
- shell_(shell),
- binding_(this, std::move(request)),
- app_refcount_(shell_->CreateAppRefCount()) {}
-
-ContentHandlerImpl::~ContentHandlerImpl() {
-}
-
-void ContentHandlerImpl::StartApplication(
- mojo::ApplicationRequest request,
- mojo::URLResponsePtr response,
- const mojo::Callback<void()>& destruct_callback) {
- // HTMLDocumentApplicationDelegate deletes itself.
- new HTMLDocumentApplicationDelegate(
- std::move(request), std::move(response), global_state_,
- shell_->CreateAppRefCount(), destruct_callback);
-}
-
-} // namespace html_viewer
« no previous file with comments | « components/html_viewer/content_handler_impl.h ('k') | components/html_viewer/devtools_agent_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698