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

Unified Diff: components/sync/android/java/src/org/chromium/components/sync/ModelTypeHelper.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: components/sync/android/java/src/org/chromium/components/sync/ModelTypeHelper.java
diff --git a/sync/android/java/src/org/chromium/sync/ModelTypeHelper.java b/components/sync/android/java/src/org/chromium/components/sync/ModelTypeHelper.java
similarity index 96%
rename from sync/android/java/src/org/chromium/sync/ModelTypeHelper.java
rename to components/sync/android/java/src/org/chromium/components/sync/ModelTypeHelper.java
index dd86170724d46fc218aaf21a2a60a1f6da18917d..de5dcfec5bd05342ffb533609a245889862bd0ad 100644
--- a/sync/android/java/src/org/chromium/sync/ModelTypeHelper.java
+++ b/components/sync/android/java/src/org/chromium/components/sync/ModelTypeHelper.java
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.sync;
+package org.chromium.components.sync;
import com.google.ipc.invalidation.external.client.types.ObjectId;
import com.google.protos.ipc.invalidation.Types;
@@ -28,17 +28,13 @@ public class ModelTypeHelper {
* Implement this class to override the behavior of
* {@link ModelTypeHelper#toNotificationType()} for tests.
*/
- public interface TestDelegate {
- public String toNotificationType(int modelType);
- }
+ public interface TestDelegate { public String toNotificationType(int modelType); }
private static final String TAG = "ModelTypeHelper";
private static final Object sLock = new Object();
- private static final int[] NON_INVALIDATION_TYPES_ARRAY = new int[] {
- ModelType.PROXY_TABS
- };
+ private static final int[] NON_INVALIDATION_TYPES_ARRAY = new int[] {ModelType.PROXY_TABS};
private static TestDelegate sDelegate = null;

Powered by Google App Engine
This is Rietveld 408576698