OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/extensions/settings/failing_settings_storage.h" | 5 #include "chrome/browser/extensions/settings/failing_settings_storage.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
9 namespace { | 9 namespace { |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 SettingsStorage::ReadResult FailingSettingsStorage::Get( | 28 SettingsStorage::ReadResult FailingSettingsStorage::Get( |
29 const std::vector<std::string>& keys) { | 29 const std::vector<std::string>& keys) { |
30 return ReadResultError(); | 30 return ReadResultError(); |
31 } | 31 } |
32 | 32 |
33 SettingsStorage::ReadResult FailingSettingsStorage::Get() { | 33 SettingsStorage::ReadResult FailingSettingsStorage::Get() { |
34 return ReadResultError(); | 34 return ReadResultError(); |
35 } | 35 } |
36 | 36 |
37 SettingsStorage::WriteResult FailingSettingsStorage::Set( | 37 SettingsStorage::WriteResult FailingSettingsStorage::Set( |
38 const std::string& key, const Value& value) { | 38 WriteOptions options, const std::string& key, const Value& value) { |
39 return WriteResultError(); | 39 return WriteResultError(); |
40 } | 40 } |
41 | 41 |
42 SettingsStorage::WriteResult FailingSettingsStorage::Set( | 42 SettingsStorage::WriteResult FailingSettingsStorage::Set( |
43 const DictionaryValue& settings) { | 43 WriteOptions options, const DictionaryValue& settings) { |
44 return WriteResultError(); | 44 return WriteResultError(); |
45 } | 45 } |
46 | 46 |
47 SettingsStorage::WriteResult FailingSettingsStorage::Remove( | 47 SettingsStorage::WriteResult FailingSettingsStorage::Remove( |
48 const std::string& key) { | 48 const std::string& key) { |
49 return WriteResultError(); | 49 return WriteResultError(); |
50 } | 50 } |
51 | 51 |
52 SettingsStorage::WriteResult FailingSettingsStorage::Remove( | 52 SettingsStorage::WriteResult FailingSettingsStorage::Remove( |
53 const std::vector<std::string>& keys) { | 53 const std::vector<std::string>& keys) { |
54 return WriteResultError(); | 54 return WriteResultError(); |
55 } | 55 } |
56 | 56 |
57 SettingsStorage::WriteResult FailingSettingsStorage::Clear() { | 57 SettingsStorage::WriteResult FailingSettingsStorage::Clear() { |
58 return WriteResultError(); | 58 return WriteResultError(); |
59 } | 59 } |
60 | 60 |
61 } // namespace extensions | 61 } // namespace extensions |
OLD | NEW |