OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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.chrome.browser.tabmodel; | 5 package org.chromium.chrome.browser.tabmodel; |
6 | 6 |
7 import com.google.common.annotations.VisibleForTesting; | 7 import org.chromium.base.VisibleForTesting; |
8 | |
9 import org.chromium.chrome.browser.Tab; | 8 import org.chromium.chrome.browser.Tab; |
10 import org.chromium.chrome.browser.profiles.Profile; | 9 import org.chromium.chrome.browser.profiles.Profile; |
11 | 10 |
12 /** | 11 /** |
13 * Singleton class intended to stub out Tab model before it has been created. | 12 * Singleton class intended to stub out Tab model before it has been created. |
14 */ | 13 */ |
15 public class EmptyTabModel implements TabModel { | 14 public class EmptyTabModel implements TabModel { |
16 | 15 |
17 /** | 16 /** |
18 * Used to mock TabModel. Application code should use getInstance() to const
ruct an | 17 * Used to mock TabModel. Application code should use getInstance() to const
ruct an |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 126 |
128 @Override | 127 @Override |
129 public void addObserver(TabModelObserver observer) { | 128 public void addObserver(TabModelObserver observer) { |
130 } | 129 } |
131 | 130 |
132 @Override | 131 @Override |
133 public void removeObserver(TabModelObserver observer) { | 132 public void removeObserver(TabModelObserver observer) { |
134 } | 133 } |
135 | 134 |
136 } | 135 } |
OLD | NEW |