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

Unified Diff: mojo/services/contacts/public/interfaces/contacts.mojom

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
Index: mojo/services/contacts/public/interfaces/contacts.mojom
diff --git a/mojo/services/contacts/public/interfaces/contacts.mojom b/mojo/services/contacts/public/interfaces/contacts.mojom
deleted file mode 100644
index 116e3f9f1158606f6a51c89a0dee7438ee37d529..0000000000000000000000000000000000000000
--- a/mojo/services/contacts/public/interfaces/contacts.mojom
+++ /dev/null
@@ -1,36 +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.
-
-[DartPackage="mojo_services"]
-module contacts;
-
-// A user contact.
-struct Contact {
- int64 id;
- string name;
-};
-
-// Interface to query current user contacts.
-interface ContactsService {
-
- // Returns the number of contacts that match the given |filter|. |filter|
- // will be matched against the contact name without considering the case. A
- // contact will match as soon as a part of the name match the filter.
- GetCount(string? filter) => (uint64 count);
-
- // Returns an extract of the list of contacts matching |filter|. |filter|
- // will be matched against the contact name without considering the case. A
- // contact will match as soon as a part of the name match the filter.
- // Contacts are ordered by |name|. The |offset| first contacts are skipped
- // and at most |limit| contacts are returned.
- Get(string? filter, uint32 offset, uint32 limit) => (array<Contact> contacts);
-
- // Returns the emails associated with the contact with the given |id|.
- GetEmails(int64 id) => (array<string> emails);
-
- // Returns an url of the photo for the contact with the given |id|. If
- // |high_resolution| is true, a high resolution photo is returned, otherwise
- // a thumbnail is returned.
- GetPhoto(int64 id, bool high_resolution) => (string? photo_url);
-};
« no previous file with comments | « mojo/services/contacts/public/interfaces/BUILD.gn ('k') | mojo/services/content_handler/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698