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

Unified Diff: android_webview/java/src/org/chromium/android_webview/PlatformServiceBridge.java

Issue 2541993002: Add GMS to WebView build (Closed)
Patch Set: fix proguard failure, add comments Created 4 years 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 | « android_webview/apk/java/proguard.flags ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/PlatformServiceBridge.java
diff --git a/android_webview/java/src/org/chromium/android_webview/PlatformServiceBridge.java b/android_webview/java/src/org/chromium/android_webview/PlatformServiceBridge.java
index 4051c2379cb9efd78845f10b838845709f37f7eb..8818ce0ffe80aa130af2fe31b9a84122f4bce74e 100644
--- a/android_webview/java/src/org/chromium/android_webview/PlatformServiceBridge.java
+++ b/android_webview/java/src/org/chromium/android_webview/PlatformServiceBridge.java
@@ -49,5 +49,13 @@ public class PlatformServiceBridge {
return sInstance;
}
+ // Try to enable WebView to use Google Play Services (a.k.a. GMS) APIs. Return true on success.
+ // Do not use GMS APIs before this has returned true, or if it returns false. This can be called
+ // from multiple threads, so long as no thread uses GMS APIs before at least one call has
+ // returned true. (The easy way is for each thread to wait for its own call to return true.)
+ public boolean tryEnableGms() {
+ return false;
+ }
+
public void setMetricsSettingListener(ValueCallback<Boolean> callback) {}
}
« no previous file with comments | « android_webview/apk/java/proguard.flags ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698