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

Side by Side Diff: chrome/browser/extensions/settings/failing_settings_storage.cc

Issue 8587025: Extension settings API: force through changes that come from sync (ignoring (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/extensions/settings/failing_settings_storage.h ('k') | chrome/browser/extensions/settings/settings_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698