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

Unified Diff: third_party/android_customtabs/customtabs/src/android/support/customtabs/ICustomTabsService.aidl

Issue 1224553003: customtabs: Convert to the new AIDL interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to external patch #16, rebase and update constants. 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: third_party/android_customtabs/customtabs/src/android/support/customtabs/ICustomTabsService.aidl
diff --git a/third_party/android_opengl/LICENSE b/third_party/android_customtabs/customtabs/src/android/support/customtabs/ICustomTabsService.aidl
similarity index 52%
copy from third_party/android_opengl/LICENSE
copy to third_party/android_customtabs/customtabs/src/android/support/customtabs/ICustomTabsService.aidl
index ea64da879f8a2132867c9523e6cef316e731e29e..435697c815e6ae0fd64278759002e4347b859f89 100644
--- a/third_party/android_opengl/LICENSE
+++ b/third_party/android_customtabs/customtabs/src/android/support/customtabs/ICustomTabsService.aidl
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 The Android Open Source Project
+ * Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -12,4 +12,21 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
+
+package android.support.customtabs;
+
+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, String url,
+ in Bundle extras, in List<Bundle> otherLikelyBundles) = 3;
+}

Powered by Google App Engine
This is Rietveld 408576698