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

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

Issue 1143313006: Add an activity that allows whitelisted applications to clear all data in Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 5 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.child_accounts; 5 package org.chromium.chrome.browser.childaccounts;
6 6
7 import android.accounts.Account; 7 import android.accounts.Account;
8 import android.accounts.AccountManager; 8 import android.accounts.AccountManager;
9 import android.accounts.AccountManagerCallback; 9 import android.accounts.AccountManagerCallback;
10 import android.accounts.AccountManagerFuture; 10 import android.accounts.AccountManagerFuture;
11 import android.accounts.AuthenticatorException; 11 import android.accounts.AuthenticatorException;
12 import android.accounts.OnAccountsUpdateListener; 12 import android.accounts.OnAccountsUpdateListener;
13 import android.accounts.OperationCanceledException; 13 import android.accounts.OperationCanceledException;
14 import android.content.Context; 14 import android.content.Context;
15 import android.os.AsyncTask; 15 import android.os.AsyncTask;
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 private static void onInvalidationReceived() { 352 private static void onInvalidationReceived() {
353 assert ThreadUtils.runningOnUiThread(); 353 assert ThreadUtils.runningOnUiThread();
354 if (sChildAccountService == null) return; 354 if (sChildAccountService == null) return;
355 sChildAccountService.recheckChildAccountStatus(); 355 sChildAccountService.recheckChildAccountStatus();
356 } 356 }
357 357
358 private native boolean nativeIsChildAccountDetectionEnabled(); 358 private native boolean nativeIsChildAccountDetectionEnabled();
359 359
360 private native void nativeSetIsChildAccount(boolean isChild); 360 private native void nativeSetIsChildAccount(boolean isChild);
361 } 361 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698