Index: chrome/browser/prefs/pref_service_mock_factory.cc |
diff --git a/android_webview/browser/aw_http_auth_handler_base.cc b/chrome/browser/prefs/pref_service_mock_factory.cc |
similarity index 41% |
copy from android_webview/browser/aw_http_auth_handler_base.cc |
copy to chrome/browser/prefs/pref_service_mock_factory.cc |
index 0fd5419c2d172186824a2ba6ab92b28ca3946172..16c30b43bcced5b4d843e21da33cf91b707236f3 100644 |
--- a/android_webview/browser/aw_http_auth_handler_base.cc |
+++ b/chrome/browser/prefs/pref_service_mock_factory.cc |
@@ -2,11 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "android_webview/browser/aw_http_auth_handler_base.h" |
+#include "chrome/browser/prefs/pref_service_mock_factory.h" |
-namespace android_webview { |
+#include "base/prefs/testing_pref_store.h" |
-AwHttpAuthHandlerBase::~AwHttpAuthHandlerBase() { |
+PrefServiceMockFactory::PrefServiceMockFactory() { |
+ user_prefs_ = new TestingPrefStore; |
} |
-} // namespace android_webview |
+PrefServiceMockFactory::~PrefServiceMockFactory() {} |