Index: components/prefs/mock_pref_change_callback.cc |
diff --git a/components/prefs/mock_pref_change_callback.cc b/components/prefs/mock_pref_change_callback.cc |
deleted file mode 100644 |
index 96b71974eb6ffdf652571a1f722a3be6cddf96f1..0000000000000000000000000000000000000000 |
--- a/components/prefs/mock_pref_change_callback.cc |
+++ /dev/null |
@@ -1,24 +0,0 @@ |
-// Copyright (c) 2011 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. |
- |
-#include "base/prefs/mock_pref_change_callback.h" |
- |
-#include "base/bind.h" |
- |
-MockPrefChangeCallback::MockPrefChangeCallback(PrefService* prefs) |
- : prefs_(prefs) { |
-} |
- |
-MockPrefChangeCallback::~MockPrefChangeCallback() {} |
- |
-PrefChangeRegistrar::NamedChangeCallback MockPrefChangeCallback::GetCallback() { |
- return base::Bind(&MockPrefChangeCallback::OnPreferenceChanged, |
- base::Unretained(this)); |
-} |
- |
-void MockPrefChangeCallback::Expect(const std::string& pref_name, |
- const base::Value* value) { |
- EXPECT_CALL(*this, OnPreferenceChanged(pref_name)) |
- .With(PrefValueMatches(prefs_, pref_name, value)); |
-} |