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

Unified Diff: sync/android/java/src/org/chromium/sync/SystemSyncContentResolverDelegate.java

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: sync/android/java/src/org/chromium/sync/SystemSyncContentResolverDelegate.java
diff --git a/sync/android/java/src/org/chromium/sync/SystemSyncContentResolverDelegate.java b/sync/android/java/src/org/chromium/sync/SystemSyncContentResolverDelegate.java
deleted file mode 100644
index 6d790daca9640ba060777b90d1de67c2cb20381f..0000000000000000000000000000000000000000
--- a/sync/android/java/src/org/chromium/sync/SystemSyncContentResolverDelegate.java
+++ /dev/null
@@ -1,62 +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;
-
-
-import android.accounts.Account;
-import android.content.ContentResolver;
-import android.content.SyncStatusObserver;
-import android.os.Bundle;
-
-/**
- * A SyncContentResolverDelegate that simply forwards calls to ContentResolver.
- */
-public class SystemSyncContentResolverDelegate implements SyncContentResolverDelegate {
-
- @Override
- public Object addStatusChangeListener(int mask, SyncStatusObserver callback) {
- return ContentResolver.addStatusChangeListener(mask, callback);
- }
-
- @Override
- public void removeStatusChangeListener(Object handle) {
- ContentResolver.removeStatusChangeListener(handle);
- }
-
- @Override
- public void setMasterSyncAutomatically(boolean sync) {
- ContentResolver.setMasterSyncAutomatically(sync);
- }
-
- @Override
- public boolean getMasterSyncAutomatically() {
- return ContentResolver.getMasterSyncAutomatically();
- }
-
- @Override
- public boolean getSyncAutomatically(Account account, String authority) {
- return ContentResolver.getSyncAutomatically(account, authority);
- }
-
- @Override
- public void setSyncAutomatically(Account account, String authority, boolean sync) {
- ContentResolver.setSyncAutomatically(account, authority, sync);
- }
-
- @Override
- public void setIsSyncable(Account account, String authority, int syncable) {
- ContentResolver.setIsSyncable(account, authority, syncable);
- }
-
- @Override
- public int getIsSyncable(Account account, String authority) {
- return ContentResolver.getIsSyncable(account, authority);
- }
-
- @Override
- public void removePeriodicSync(Account account, String authority, Bundle extras) {
- ContentResolver.removePeriodicSync(account, authority, extras);
- }
-}

Powered by Google App Engine
This is Rietveld 408576698