| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/prefs/testing_pref_store.h" | 5 #include "base/prefs/testing_pref_store.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 read_success_ = read_success; | 172 read_success_ = read_success; |
| 173 } | 173 } |
| 174 | 174 |
| 175 void TestingPrefStore::set_read_error( | 175 void TestingPrefStore::set_read_error( |
| 176 PersistentPrefStore::PrefReadError read_error) { | 176 PersistentPrefStore::PrefReadError read_error) { |
| 177 DCHECK(!init_complete_); | 177 DCHECK(!init_complete_); |
| 178 read_error_ = read_error; | 178 read_error_ = read_error; |
| 179 } | 179 } |
| 180 | 180 |
| 181 TestingPrefStore::~TestingPrefStore() {} | 181 TestingPrefStore::~TestingPrefStore() {} |
| OLD | NEW |