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

Side by Side Diff: content/public/test/test_mojo_service.mojom

Issue 2264543003: Adds sync brokering to Windows EDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module content.mojom; 5 module content.mojom;
6 6
7 interface TestMojoService { 7 interface TestMojoService {
8 // Doesn't actually do anything, just responds. 8 // Doesn't actually do anything, just responds.
9 DoSomething() => (); 9 DoSomething() => ();
10 10
11 // Terminates the current process to cause a connection error. Meant to test 11 // Terminates the current process to cause a connection error. Meant to test
12 // a connection error for the utility process. 12 // a connection error for the utility process.
13 DoTerminateProcess() => (); 13 DoTerminateProcess() => ();
14 14
15 // Tries to create a temporary folder. Requires a sandbox to succeed. 15 // Tries to create a temporary folder. Requires a sandbox to succeed.
16 CreateFolder() => (bool succeeded); 16 CreateFolder() => (bool succeeded);
17 17
18 // Retrieve the requestor name as seen by the test app providing this service. 18 // Retrieve the requestor name as seen by the test app providing this service.
19 GetRequestorName() => (string name); 19 GetRequestorName() => (string name);
20
21 // Requests that a new shared buffer be created and returned. If successful,
22 // |buffer| is non-null and its contents match |message|'s bytes exactly.
23 CreateSharedBuffer(string message) => (handle<shared_buffer>? buffer);
20 }; 24 };
OLDNEW
« no previous file with comments | « content/public/test/test_mojo_app.cc ('k') | content/shell/renderer/shell_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698