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

Unified Diff: chrome/android/java/src/android/support/customtabs/ICustomTabsService.aidl

Issue 1234643002: customtabs: Convert to the new AIDL interface, temporarily imported. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added VisibleForTesting to util only used for testing Created 5 years, 5 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: chrome/android/java/src/android/support/customtabs/ICustomTabsService.aidl
diff --git a/chrome/android/java/src/android/support/customtabs/ICustomTabsService.aidl b/chrome/android/java/src/android/support/customtabs/ICustomTabsService.aidl
new file mode 100644
index 0000000000000000000000000000000000000000..3bf8665f46670db1ab6f7f4bee47d8db6fbee898
--- /dev/null
+++ b/chrome/android/java/src/android/support/customtabs/ICustomTabsService.aidl
@@ -0,0 +1,21 @@
+// 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.
+
+package android.support.customtabs;
+
+import android.net.Uri;
+import android.os.Bundle;
+import android.support.customtabs.ICustomTabsCallback;
+
+import java.util.List;
+
+/**
+ * Interface to a CustomTabsService.
+ */
+interface ICustomTabsService {
+ boolean warmup(long flags) = 1;
+ boolean newSession(in ICustomTabsCallback callback) = 2;
+ boolean mayLaunchUrl(in ICustomTabsCallback callback, in Uri url,
+ in Bundle extras, in List<Bundle> otherLikelyBundles) = 3;
+}

Powered by Google App Engine
This is Rietveld 408576698