pref_service_mock_factory.cc 501 B

1234567891011121314151617
  1. // Copyright 2013 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "components/sync_preferences/pref_service_mock_factory.h"
  5. #include "components/prefs/testing_pref_store.h"
  6. namespace sync_preferences {
  7. PrefServiceMockFactory::PrefServiceMockFactory() {
  8. user_prefs_ = new TestingPrefStore;
  9. }
  10. PrefServiceMockFactory::~PrefServiceMockFactory() = default;
  11. } // namespace sync_preferences