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

Unified Diff: chrome/browser/prefs/pref_service_mock_factory.cc

Issue 64193003: Clean up PrefServiceBuilder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix memory ownership bug in ProxyPolicyTest Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/prefs/pref_service_mock_factory.h ('k') | chrome/browser/prefs/pref_service_syncable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « chrome/browser/prefs/pref_service_mock_factory.h ('k') | chrome/browser/prefs/pref_service_syncable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698