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

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

Issue 2588263003: Reland: Remove Finch support for PasswordBranding (Closed)
Patch Set: Rebased only 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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.ObserverList; 7 import org.chromium.base.ObserverList;
8 import org.chromium.base.annotations.CalledByNative; 8 import org.chromium.base.annotations.CalledByNative;
9 9
10 /** 10 /**
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 * @param index of exception entry. 135 * @param index of exception entry.
136 */ 136 */
137 public void removeSavedPasswordException(int index) { 137 public void removeSavedPasswordException(int index) {
138 nativeHandleRemoveSavedPasswordException(mNativePasswordUIViewAndroid, i ndex); 138 nativeHandleRemoveSavedPasswordException(mNativePasswordUIViewAndroid, i ndex);
139 } 139 }
140 140
141 public static String getAccountDashboardURL() { 141 public static String getAccountDashboardURL() {
142 return nativeGetAccountDashboardURL(); 142 return nativeGetAccountDashboardURL();
143 } 143 }
144 144
145 public static boolean shouldUseSmartLockBranding() {
146 return nativeShouldUseSmartLockBranding();
147 }
148
149 /** 145 /**
150 * Destroy the native object. 146 * Destroy the native object.
151 */ 147 */
152 public void destroy() { 148 public void destroy() {
153 if (mNativePasswordUIViewAndroid != 0) { 149 if (mNativePasswordUIViewAndroid != 0) {
154 nativeDestroy(mNativePasswordUIViewAndroid); 150 nativeDestroy(mNativePasswordUIViewAndroid);
155 mNativePasswordUIViewAndroid = 0; 151 mNativePasswordUIViewAndroid = 0;
156 } 152 }
157 mObservers.clear(); 153 mObservers.clear();
158 } 154 }
(...skipping 12 matching lines...) Expand all
171 private native void nativeHandleRemoveSavedPasswordEntry( 167 private native void nativeHandleRemoveSavedPasswordEntry(
172 long nativePasswordUIViewAndroid, 168 long nativePasswordUIViewAndroid,
173 int index); 169 int index);
174 170
175 private native void nativeHandleRemoveSavedPasswordException( 171 private native void nativeHandleRemoveSavedPasswordException(
176 long nativePasswordUIViewAndroid, 172 long nativePasswordUIViewAndroid,
177 int index); 173 int index);
178 174
179 private static native String nativeGetAccountDashboardURL(); 175 private static native String nativeGetAccountDashboardURL();
180 176
181 private static native boolean nativeShouldUseSmartLockBranding();
182
183 private native void nativeDestroy(long nativePasswordUIViewAndroid); 177 private native void nativeDestroy(long nativePasswordUIViewAndroid);
184 178
185 } 179 }
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698