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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/sync/FakeProfileSyncService.java

Issue 1139643006: Rename chrome/android/javatests to javatests_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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: chrome/android/javatests/src/org/chromium/chrome/browser/sync/FakeProfileSyncService.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/sync/FakeProfileSyncService.java b/chrome/android/javatests/src/org/chromium/chrome/browser/sync/FakeProfileSyncService.java
deleted file mode 100644
index 46ba2ccdbd0a12ce15285b66cc0eb84fbcd2b2ac..0000000000000000000000000000000000000000
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/sync/FakeProfileSyncService.java
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2015 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.chrome.browser.sync;
-
-import android.content.Context;
-
-/**
- * Fake some ProfileSyncService methods for testing.
- *
- * Only what has been needed for tests so far has been faked.
- */
-public class FakeProfileSyncService extends ProfileSyncService {
-
- private boolean mBackendInitialized;
-
- public FakeProfileSyncService(Context context) {
- super(context);
- }
-
- @Override
- public boolean isSyncInitialized() {
- return mBackendInitialized;
- }
-
- public void setSyncInitialized(boolean syncInitialized) {
- mBackendInitialized = syncInitialized;
- }
-
- @Override
- public boolean isUsingSecondaryPassphrase() {
- return true;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698