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

Unified Diff: mojo/shell/public/interfaces/content_handler.mojom

Issue 1705323003: ContentHandler -> ShellClientFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delete
Patch Set: . 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 | « mojo/shell/public/interfaces/BUILD.gn ('k') | mojo/shell/public/interfaces/shell_client_factory.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/interfaces/content_handler.mojom
diff --git a/mojo/shell/public/interfaces/content_handler.mojom b/mojo/shell/public/interfaces/content_handler.mojom
deleted file mode 100644
index 0dae8b9a221e1c30ec296f618f11e87b4f93ff85..0000000000000000000000000000000000000000
--- a/mojo/shell/public/interfaces/content_handler.mojom
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2014 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.
-
-module mojo.shell.mojom;
-
-import "mojo/shell/public/interfaces/shell_client.mojom";
-import "network/public/interfaces/url_loader.mojom";
-
-// Interface implemented by content handlers. To avoid race conditions with
-// dropped requests, the implementation should keep a reference to the lifetime
-// of the app (by holding on to AppRefCount). Each application started by
-// StartApplication should call the callback given by that method on
-// destruction. When the owner in the shell notices this, it will destroy the
-// interface pointer, which should cause the strongly-bound ContentHandler
-// implementation to self destruct and release the app reference.
-interface ContentHandler {
- // The callback should be called when the application is destructed.
- StartApplication(ShellClient& shell_client, mojo.URLResponse response) => ();
-};
« no previous file with comments | « mojo/shell/public/interfaces/BUILD.gn ('k') | mojo/shell/public/interfaces/shell_client_factory.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698