diff options
author | sammc <sammc@chromium.org> | 2014-10-23 00:49:41 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-23 07:50:00 +0000 |
commit | b2c4362a1ee5487aeeb37e975ffa8d0e17fa2585 (patch) | |
tree | 93f845e1fad1d49082520642fd8011fe52bbe74e /extensions/common/mojo | |
parent | bfd84a128ad5eda2f46b4def0d5a809435f3d5f3 (diff) | |
download | chromium_src-b2c4362a1ee5487aeeb37e975ffa8d0e17fa2585.zip chromium_src-b2c4362a1ee5487aeeb37e975ffa8d0e17fa2585.tar.gz chromium_src-b2c4362a1ee5487aeeb37e975ffa8d0e17fa2585.tar.bz2 |
Add a keep-alive mojo service for extensions.
This will allow apps and extensions APIs implemented on mojo services to
match the existing behavior of keeping background pages alive while API
calls are in progress.
BUG=389016
Review URL: https://codereview.chromium.org/673623004
Cr-Commit-Position: refs/heads/master@{#300853}
Diffstat (limited to 'extensions/common/mojo')
-rw-r--r-- | extensions/common/mojo/keep_alive.mojom | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extensions/common/mojo/keep_alive.mojom b/extensions/common/mojo/keep_alive.mojom new file mode 100644 index 0000000..75b08b4 --- /dev/null +++ b/extensions/common/mojo/keep_alive.mojom @@ -0,0 +1,12 @@ +// 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 extensions { + +// An RAII service for keep alives. While KeepAlive services for an extension +// remain, the background page for that extension will remain alive. +interface KeepAlive { +}; + +} |