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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/tabmodel/EmptyTabModel.java

Issue 565743002: Remove most usages of guava. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 3 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 unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698