| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.blimp.core; | 5 package org.chromium.blimp.core; |
| 6 | 6 |
| 7 import android.preference.PreferenceFragment; | 7 import android.preference.PreferenceFragment; |
| 8 | 8 |
| 9 import org.chromium.base.annotations.CalledByNative; | 9 import org.chromium.base.annotations.CalledByNative; |
| 10 import org.chromium.base.annotations.JNINamespace; | 10 import org.chromium.base.annotations.JNINamespace; |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 assert mNativeDummyBlimpClientContextAndroid != 0; | 47 assert mNativeDummyBlimpClientContextAndroid != 0; |
| 48 return mNativeDummyBlimpClientContextAndroid; | 48 return mNativeDummyBlimpClientContextAndroid; |
| 49 } | 49 } |
| 50 | 50 |
| 51 @Override | 51 @Override |
| 52 public boolean isBlimpSupported() { | 52 public boolean isBlimpSupported() { |
| 53 return false; | 53 return false; |
| 54 } | 54 } |
| 55 | 55 |
| 56 @Override | 56 @Override |
| 57 public void attachBlimpPreferences(PreferenceFragment fragment, | 57 public boolean isBlimpEnabled() { |
| 58 BlimpSettingsCallbacks callbacks) { | 58 return false; |
| 59 } | 59 } |
| 60 | 60 |
| 61 @Override | 61 @Override |
| 62 public void attachBlimpPreferences( |
| 63 PreferenceFragment fragment, BlimpSettingsCallbacks callbacks) {} |
| 64 |
| 65 @Override |
| 62 public void setDelegate(BlimpClientContextDelegate delegate) { | 66 public void setDelegate(BlimpClientContextDelegate delegate) { |
| 63 } | 67 } |
| 64 | 68 |
| 65 @Override | 69 @Override |
| 66 public void connect() {} | 70 public void connect() {} |
| 67 } | 71 } |
| OLD | NEW |