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

Unified Diff: blimp/client/app/android/javatests/src/org/chromium/blimp/core/MockBlimpClientContextDelegate.java

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 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: blimp/client/app/android/javatests/src/org/chromium/blimp/core/MockBlimpClientContextDelegate.java
diff --git a/blimp/client/app/android/javatests/src/org/chromium/blimp/core/MockBlimpClientContextDelegate.java b/blimp/client/app/android/javatests/src/org/chromium/blimp/core/MockBlimpClientContextDelegate.java
deleted file mode 100644
index f5cccdf59df66b01a769b4659d7a4e3f7774b8f6..0000000000000000000000000000000000000000
--- a/blimp/client/app/android/javatests/src/org/chromium/blimp/core/MockBlimpClientContextDelegate.java
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2016 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.blimp.core;
-
-import android.content.Context;
-
-import org.chromium.blimp_public.BlimpClientContextDelegate;
-
-/**
- * Mock {@link BlimpClientContextDelegate}, to test embedder delegate functions.
- * This test support class only tests Java layer and is not backed by any native code.
- */
-public class MockBlimpClientContextDelegate implements BlimpClientContextDelegate {
- int mRestartCalled = 0;
- int mStartUserSignInFlowCalled = 0;
-
- public void reset() {
- mRestartCalled = 0;
- mStartUserSignInFlowCalled = 0;
- }
-
- public int restartBrowserCalled() {
- return mRestartCalled;
- }
-
- public int startUserSignInFlowCalled() {
- return mStartUserSignInFlowCalled;
- }
-
- @Override
- public void restartBrowser() {
- mRestartCalled++;
- }
-
- @Override
- public void startUserSignInFlow(Context context) {
- mStartUserSignInFlowCalled++;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698