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

Unified Diff: sync/android/java/src/org/chromium/sync/notifier/SyncContentResolverDelegate.java

Issue 845543005: Rename SyncStatusHelper to AndroidSyncSettings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gsm
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: sync/android/java/src/org/chromium/sync/notifier/SyncContentResolverDelegate.java
diff --git a/sync/android/java/src/org/chromium/sync/notifier/SyncContentResolverDelegate.java b/sync/android/java/src/org/chromium/sync/notifier/SyncContentResolverDelegate.java
deleted file mode 100644
index 016a9301d2a9c07ed250478027159561a561efd6..0000000000000000000000000000000000000000
--- a/sync/android/java/src/org/chromium/sync/notifier/SyncContentResolverDelegate.java
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.sync.notifier;
-
-
-import android.accounts.Account;
-import android.content.SyncStatusObserver;
-
-/**
- * Since the ContentResolver in Android has a lot of static methods, it is hard to
- * mock out for tests. This interface wraps all the sync-related methods we use from
- * the Android ContentResolver.
- */
-public interface SyncContentResolverDelegate {
-
- Object addStatusChangeListener(int mask, SyncStatusObserver callback);
-
- void removeStatusChangeListener(Object handle);
-
- void setMasterSyncAutomatically(boolean sync);
-
- boolean getMasterSyncAutomatically();
-
- void setSyncAutomatically(Account account, String authority, boolean sync);
-
- boolean getSyncAutomatically(Account account, String authority);
-
- void setIsSyncable(Account account, String authority, int syncable);
-
- int getIsSyncable(Account account, String authority);
-}

Powered by Google App Engine
This is Rietveld 408576698