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

Unified Diff: extensions/common/stash.mojom

Issue 638273004: Move stash_backend into extensions/browser/mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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 | « extensions/common/mojo/stash.mojom ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/stash.mojom
diff --git a/extensions/common/stash.mojom b/extensions/common/stash.mojom
deleted file mode 100644
index 734697bce0bf475bacad995f2e814c02f4e12d01..0000000000000000000000000000000000000000
--- a/extensions/common/stash.mojom
+++ /dev/null
@@ -1,32 +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 extensions {
-
-// A stashed client object. This contains the serialized bytes and handles,
-// stored in |data| and |handles|, respectively, of a mojo struct of the
-// serialized representation of the client object.
-struct StashedObject {
- // A client identifier for this stashed object. This is to allow the client to
- // reconstitute the correct serialization struct from this StashedObject.
- string id;
-
- // The serialized data of the serialization struct.
- array<uint8> data;
-
- // The handles contained within the serialization struct.
- array<handle> stashed_handles;
-};
-
-interface StashService {
- // Adds |stashed_objects| to the stash. StashedObjects are stored in memory in
- // the browser process for as long as the extension that owns them remains
- // enabled and the browser process runs.
- AddToStash(array<StashedObject> stashed_objects);
-
- // Returns all stashed objects.
- RetrieveStash() => (array<StashedObject> stash);
-};
-
-}
« no previous file with comments | « extensions/common/mojo/stash.mojom ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698