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

Unified Diff: components/html_viewer/content_handler_impl.h

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
Index: components/html_viewer/content_handler_impl.h
diff --git a/components/html_viewer/content_handler_impl.h b/components/html_viewer/content_handler_impl.h
deleted file mode 100644
index ee52c1765de69b199ba4d1650b0d6115d2f8795b..0000000000000000000000000000000000000000
--- a/components/html_viewer/content_handler_impl.h
+++ /dev/null
@@ -1,46 +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.
-
-#ifndef COMPONENTS_HTML_VIEWER_CONTENT_HANDLER_IMPL_H_
-#define COMPONENTS_HTML_VIEWER_CONTENT_HANDLER_IMPL_H_
-
-#include "base/macros.h"
-#include "mojo/public/cpp/bindings/strong_binding.h"
-#include "mojo/shell/public/cpp/shell.h"
-#include "mojo/shell/public/interfaces/content_handler.mojom.h"
-
-namespace html_viewer {
-
-class GlobalState;
-
-class ContentHandlerImpl : public mojo::shell::mojom::ContentHandler {
- public:
- ContentHandlerImpl(
- GlobalState* global_state,
- mojo::Shell* shell,
- mojo::InterfaceRequest<mojo::shell::mojom::ContentHandler> request);
- ~ContentHandlerImpl() override;
-
- protected:
- GlobalState* global_state() const { return global_state_; }
- mojo::Shell* shell() const { return shell_; }
-
- private:
- // Overridden from shell::mojom::ContentHandler:
- void StartApplication(
- mojo::ApplicationRequest request,
- mojo::URLResponsePtr response,
- const mojo::Callback<void()>& destruct_callback) override;
-
- GlobalState* global_state_;
- mojo::Shell* shell_;
- mojo::StrongBinding<mojo::shell::mojom::ContentHandler> binding_;
- scoped_ptr<mojo::AppRefCount> app_refcount_;
-
- DISALLOW_COPY_AND_ASSIGN(ContentHandlerImpl);
-};
-
-} // namespace html_viewer
-
-#endif // COMPONENTS_HTML_VIEWER_CONTENT_HANDLER_IMPL_H_
« no previous file with comments | « components/html_viewer/blink_url_request_type_converters.cc ('k') | components/html_viewer/content_handler_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698