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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeFeatureList.java

Issue 2780933002: [Crash Reporting] Enable the JobScheduler API by default for Android M+. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/crash/MinidumpUploadService.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.chrome.browser; 5 package org.chromium.chrome.browser;
6 6
7 import org.chromium.base.VisibleForTesting; 7 import org.chromium.base.VisibleForTesting;
8 import org.chromium.base.annotations.JNINamespace; 8 import org.chromium.base.annotations.JNINamespace;
9 import org.chromium.base.annotations.MainDex; 9 import org.chromium.base.annotations.MainDex;
10 10
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 public static final String NTP_FAKE_OMNIBOX_TEXT = "NTPFakeOmniboxText"; 139 public static final String NTP_FAKE_OMNIBOX_TEXT = "NTPFakeOmniboxText";
140 public static final String NTP_FOREIGN_SESSIONS_SUGGESTIONS = "NTPForeignSes sionsSuggestions"; 140 public static final String NTP_FOREIGN_SESSIONS_SUGGESTIONS = "NTPForeignSes sionsSuggestions";
141 public static final String NTP_LAUNCH_AFTER_INACTIVITY = "NTPLaunchAfterInac tivity"; 141 public static final String NTP_LAUNCH_AFTER_INACTIVITY = "NTPLaunchAfterInac tivity";
142 public static final String NTP_OFFLINE_PAGES_FEATURE_NAME = "NTPOfflinePages "; 142 public static final String NTP_OFFLINE_PAGES_FEATURE_NAME = "NTPOfflinePages ";
143 public static final String NTP_SHOW_GOOGLE_G_IN_OMNIBOX = "NTPShowGoogleGInO mnibox"; 143 public static final String NTP_SHOW_GOOGLE_G_IN_OMNIBOX = "NTPShowGoogleGInO mnibox";
144 public static final String NTP_SNIPPETS_INCREASED_VISIBILITY = "NTPSnippetsI ncreasedVisibility"; 144 public static final String NTP_SNIPPETS_INCREASED_VISIBILITY = "NTPSnippetsI ncreasedVisibility";
145 public static final String NTP_SNIPPETS_SAVE_TO_OFFLINE = "NTPSaveToOffline" ; 145 public static final String NTP_SNIPPETS_SAVE_TO_OFFLINE = "NTPSaveToOffline" ;
146 public static final String NTP_SNIPPETS_OFFLINE_BADGE = "NTPOfflineBadge"; 146 public static final String NTP_SNIPPETS_OFFLINE_BADGE = "NTPOfflineBadge";
147 public static final String SERVICE_WORKER_PAYMENT_APPS = "ServiceWorkerPayme ntApps"; 147 public static final String SERVICE_WORKER_PAYMENT_APPS = "ServiceWorkerPayme ntApps";
148 public static final String TAB_REPARENTING = "TabReparenting"; 148 public static final String TAB_REPARENTING = "TabReparenting";
149 public static final String UPLOAD_CRASH_REPORTS_USING_JOB_SCHEDULER =
150 "UploadCrashReportsUsingJobScheduler";
151 public static final String VR_SHELL = "VrShell"; 149 public static final String VR_SHELL = "VrShell";
152 public static final String WEB_PAYMENTS = "WebPayments"; 150 public static final String WEB_PAYMENTS = "WebPayments";
153 public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers"; 151 public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers";
154 public static final String WEB_PAYMENTS_SINGLE_APP_UI_SKIP = "WebPaymentsSin gleAppUiSkip"; 152 public static final String WEB_PAYMENTS_SINGLE_APP_UI_SKIP = "WebPaymentsSin gleAppUiSkip";
155 public static final String WEBVR_CARDBOARD_SUPPORT = "WebVRCardboardSupport" ; 153 public static final String WEBVR_CARDBOARD_SUPPORT = "WebVRCardboardSupport" ;
156 154
157 private static native boolean nativeIsEnabled(String featureName); 155 private static native boolean nativeIsEnabled(String featureName);
158 private static native String nativeGetFieldTrialParamByFeature( 156 private static native String nativeGetFieldTrialParamByFeature(
159 String featureName, String paramName); 157 String featureName, String paramName);
160 private static native int nativeGetFieldTrialParamByFeatureAsInt( 158 private static native int nativeGetFieldTrialParamByFeatureAsInt(
161 String featureName, String paramName, int defaultValue); 159 String featureName, String paramName, int defaultValue);
162 private static native double nativeGetFieldTrialParamByFeatureAsDouble( 160 private static native double nativeGetFieldTrialParamByFeatureAsDouble(
163 String featureName, String paramName, double defaultValue); 161 String featureName, String paramName, double defaultValue);
164 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean( 162 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean(
165 String featureName, String paramName, boolean defaultValue); 163 String featureName, String paramName, boolean defaultValue);
166 } 164 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/crash/MinidumpUploadService.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698