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

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

Issue 2737263006: [Android Crash Reporting] Allow uploading minidumps via the JobScheduler (Closed)
Patch Set: Assert that job scheduled successfully Created 3 years, 9 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
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 public static final String NTP_FAKE_OMNIBOX_TEXT = "NTPFakeOmniboxText"; 138 public static final String NTP_FAKE_OMNIBOX_TEXT = "NTPFakeOmniboxText";
139 public static final String NTP_FOREIGN_SESSIONS_SUGGESTIONS = "NTPForeignSes sionsSuggestions"; 139 public static final String NTP_FOREIGN_SESSIONS_SUGGESTIONS = "NTPForeignSes sionsSuggestions";
140 public static final String NTP_LAUNCH_AFTER_INACTIVITY = "NTPLaunchAfterInac tivity"; 140 public static final String NTP_LAUNCH_AFTER_INACTIVITY = "NTPLaunchAfterInac tivity";
141 public static final String NTP_OFFLINE_PAGES_FEATURE_NAME = "NTPOfflinePages "; 141 public static final String NTP_OFFLINE_PAGES_FEATURE_NAME = "NTPOfflinePages ";
142 public static final String NTP_SHOW_GOOGLE_G_IN_OMNIBOX = "NTPShowGoogleGInO mnibox"; 142 public static final String NTP_SHOW_GOOGLE_G_IN_OMNIBOX = "NTPShowGoogleGInO mnibox";
143 public static final String NTP_SNIPPETS_INCREASED_VISIBILITY = "NTPSnippetsI ncreasedVisibility"; 143 public static final String NTP_SNIPPETS_INCREASED_VISIBILITY = "NTPSnippetsI ncreasedVisibility";
144 public static final String NTP_SNIPPETS_SAVE_TO_OFFLINE = "NTPSaveToOffline" ; 144 public static final String NTP_SNIPPETS_SAVE_TO_OFFLINE = "NTPSaveToOffline" ;
145 public static final String NTP_SNIPPETS_OFFLINE_BADGE = "NTPOfflineBadge"; 145 public static final String NTP_SNIPPETS_OFFLINE_BADGE = "NTPOfflineBadge";
146 public static final String SERVICE_WORKER_PAYMENT_APPS = "ServiceWorkerPayme ntApps"; 146 public static final String SERVICE_WORKER_PAYMENT_APPS = "ServiceWorkerPayme ntApps";
147 public static final String TAB_REPARENTING = "TabReparenting"; 147 public static final String TAB_REPARENTING = "TabReparenting";
148 public static final String UPLOAD_CRASH_REPORTS_USING_JOB_SCHEDULER =
149 "UploadCrashReportsUsingJobScheduler";
148 public static final String VR_SHELL = "VrShell"; 150 public static final String VR_SHELL = "VrShell";
149 public static final String WEB_PAYMENTS = "WebPayments"; 151 public static final String WEB_PAYMENTS = "WebPayments";
150 public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers"; 152 public static final String WEB_PAYMENTS_MODIFIERS = "WebPaymentsModifiers";
151 public static final String WEB_PAYMENTS_SINGLE_APP_UI_SKIP = "WebPaymentsSin gleAppUiSkip"; 153 public static final String WEB_PAYMENTS_SINGLE_APP_UI_SKIP = "WebPaymentsSin gleAppUiSkip";
152 public static final String WEBVR_CARDBOARD_SUPPORT = "WebVRCardboardSupport" ; 154 public static final String WEBVR_CARDBOARD_SUPPORT = "WebVRCardboardSupport" ;
153 155
154 private static native boolean nativeIsEnabled(String featureName); 156 private static native boolean nativeIsEnabled(String featureName);
155 private static native String nativeGetFieldTrialParamByFeature( 157 private static native String nativeGetFieldTrialParamByFeature(
156 String featureName, String paramName); 158 String featureName, String paramName);
157 private static native int nativeGetFieldTrialParamByFeatureAsInt( 159 private static native int nativeGetFieldTrialParamByFeatureAsInt(
158 String featureName, String paramName, int defaultValue); 160 String featureName, String paramName, int defaultValue);
159 private static native double nativeGetFieldTrialParamByFeatureAsDouble( 161 private static native double nativeGetFieldTrialParamByFeatureAsDouble(
160 String featureName, String paramName, double defaultValue); 162 String featureName, String paramName, double defaultValue);
161 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean( 163 private static native boolean nativeGetFieldTrialParamByFeatureAsBoolean(
162 String featureName, String paramName, boolean defaultValue); 164 String featureName, String paramName, boolean defaultValue);
163 } 165 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698