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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/UserConsentInterface.java

Issue 2628863004: [Android WebView] Ensure we have user consent before uploading minidumps (Closed)
Patch Set: Created 3 years, 11 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.android_webview;
6
7 import android.webkit.ValueCallback;
8
9 /**
10 * Interface for checking user consent for Minidump uploading.
11 */
12 public interface UserConsentInterface {
sgurun-gerrit only 2017/01/13 08:14:21 Is this class really necessary?
gsennton 2017/01/13 19:01:55 Its only use is to allow me to mock PlatformServic
gsennton 2017/01/23 17:50:39 Removed this now.
13 /**
14 * Returns whether this interface is available for querying.
15 */
16 boolean userConsentInterfaceAvailable();
17
18 /**
19 * Must be called on UI thread, returns whether we have user consent. The re sult is posted to
20 * the UI thread as {@param callback}.
21 */
22 void userConsents(ValueCallback<Boolean> callback);
23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698