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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/command_line/CommandLineUtil.java

Issue 2628863004: [Android WebView] Ensure we have user consent before uploading minidumps (Closed)
Patch Set: Check user consent before copying minidumps, delete minidumps in app dir if no consent, add unit te… 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.command_line;
6
7 import android.os.Build;
8
9 /**
10 * Utility class for WebView's CommandLine.
11 */
12 public class CommandLineUtil {
13 private CommandLineUtil() {}
14
15 public static final String WEBVIEW_COMMAND_LINE_FILE = "/data/local/tmp/webv iew-command-line";
16
17 // same switch as kEnableCrashReporterForTesting in //base/base_switches.h
18 public static final String CRASH_UPLOADS_ENABLED_FOR_TESTING_SWITCH =
19 "enable-crash-reporter-for-testing";
20
21 public static boolean isBuildDebuggable() {
22 return !Build.TYPE.equals("user");
23 }
24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698