OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ValueStore
(Results
1 - 25
of
40
) sorted by null
1
2
/external/chromium_org/chrome/browser/value_store/
value_store.cc
11
ValueStore
::ReadResultType::ReadResultType(DictionaryValue* settings)
16
ValueStore
::ReadResultType::ReadResultType(const std::string& error)
21
ValueStore
::ReadResultType::~ReadResultType() {}
23
bool
ValueStore
::ReadResultType::HasError() const {
27
scoped_ptr<DictionaryValue>&
ValueStore
::ReadResultType::settings() {
32
const std::string&
ValueStore
::ReadResultType::error() const {
39
ValueStore
::WriteResultType::WriteResultType(ValueStoreChangeList* changes)
44
ValueStore
::WriteResultType::WriteResultType(const std::string& error)
49
ValueStore
::WriteResultType::~WriteResultType() {}
51
bool
ValueStore
::WriteResultType::HasError() const
[
all
...]
leveldb_value_store_unittest.cc
12
ValueStore
* Param(const base::FilePath& file_path) {
testing_value_store_unittest.cc
13
ValueStore
* Param(const base::FilePath& file_path) {
testing_value_store.cc
13
ValueStore
::ReadResult ReadResultError() {
14
return
ValueStore
::MakeReadResult(kGenericErrorMessage);
17
ValueStore
::WriteResult WriteResultError() {
18
return
ValueStore
::MakeWriteResult(kGenericErrorMessage);
57
ValueStore
::ReadResult TestingValueStore::Get(const std::string& key) {
61
ValueStore
::ReadResult TestingValueStore::Get(
79
ValueStore
::ReadResult TestingValueStore::Get() {
87
ValueStore
::WriteResult TestingValueStore::Set(
94
ValueStore
::WriteResult TestingValueStore::Set(
117
ValueStore
::WriteResult TestingValueStore::Remove(const std::string& key)
[
all
...]
value_store_frontend.h
17
class
ValueStore
;
32
// This variant is useful for testing (using a mock
ValueStore
).
33
explicit ValueStoreFrontend(
ValueStore
* value_store);
51
// A helper class to manage lifetime of the backing
ValueStore
, which lives
value_store_frontend.cc
28
// This variant is useful for testing (using a mock
ValueStore
).
29
void InitWithStore(scoped_ptr<
ValueStore
> storage) {
38
ValueStore
::ReadResult result = storage_->Get(key);
58
storage_->Set(
ValueStore
::IGNORE_QUOTA |
ValueStore
::NO_GENERATE_CHANGES,
84
// The actual
ValueStore
that handles persisting the data to disk. Used
86
ValueStore
* storage_;
102
ValueStoreFrontend::ValueStoreFrontend(
ValueStore
* value_store)
106
backend_, base::Passed(scoped_ptr<
ValueStore
>(value_store))));
leveldb_value_store.cc
24
ValueStore
::ReadResult ReadFailure(const std::string& action,
27
return
ValueStore
::MakeReadResult(base::StringPrintf(
31
ValueStore
::ReadResult ReadFailureForKey(const std::string& action,
35
return
ValueStore
::MakeReadResult(base::StringPrintf(
40
ValueStore
::WriteResult WriteFailure(const std::string& action,
43
return
ValueStore
::MakeWriteResult(base::StringPrintf(
47
ValueStore
::WriteResult WriteFailureForKey(const std::string& action,
51
return
ValueStore
::MakeWriteResult(base::StringPrintf(
123
ValueStore
::ReadResult LeveldbValueStore::Get(const std::string& key) {
128
return
ValueStore
::MakeReadResult(error)
[
all
...]
leveldb_value_store.h
19
class LeveldbValueStore : public
ValueStore
{
32
//
ValueStore
implementation.
67
ValueStore
::WriteOptions options,
/external/chromium_org/chrome/browser/extensions/api/storage/
leveldb_settings_storage_factory.cc
12
ValueStore
* LeveldbSettingsStorageFactory::Create(
storage_api.h
31
virtual bool RunWithStorage(
ValueStore
* storage) = 0;
35
bool UseReadResult(
ValueStore
::ReadResult result);
40
bool UseWriteResult(
ValueStore
::WriteResult result);
45
void AsyncRunWithStorage(
ValueStore
* storage);
63
virtual bool RunWithStorage(
ValueStore
* storage) OVERRIDE;
74
virtual bool RunWithStorage(
ValueStore
* storage) OVERRIDE;
89
virtual bool RunWithStorage(
ValueStore
* storage) OVERRIDE;
104
virtual bool RunWithStorage(
ValueStore
* storage) OVERRIDE;
119
virtual bool RunWithStorage(
ValueStore
* storage) OVERRIDE;
weak_unlimited_settings_storage.cc
10
ValueStore
* delegate)
29
ValueStore
::ReadResult WeakUnlimitedSettingsStorage::Get(
34
ValueStore
::ReadResult WeakUnlimitedSettingsStorage::Get(
39
ValueStore
::ReadResult WeakUnlimitedSettingsStorage::Get() {
43
ValueStore
::WriteResult WeakUnlimitedSettingsStorage::Set(
48
ValueStore
::WriteResult WeakUnlimitedSettingsStorage::Set(
53
ValueStore
::WriteResult WeakUnlimitedSettingsStorage::Remove(
58
ValueStore
::WriteResult WeakUnlimitedSettingsStorage::Remove(
63
ValueStore
::WriteResult WeakUnlimitedSettingsStorage::Clear() {
settings_storage_factory.h
13
class
ValueStore
;
24
// Creates a new
ValueStore
area for an extension under |base_path|.
26
virtual
ValueStore
* Create(const base::FilePath& base_path,
value_store_cache.h
13
class
ValueStore
;
30
typedef base::Callback<void(
ValueStore
*)> StorageCallback;
41
// Requests the cache to invoke |callback| with the appropriate
ValueStore
43
//
ValueStore
in case of errors.
leveldb_settings_storage_factory.h
15
virtual
ValueStore
* Create(const base::FilePath& base_path,
policy_value_store.cc
23
ValueStore
::WriteResult WriteResultError() {
24
return
ValueStore
::MakeWriteResult(kReadOnlyStoreErrorMessage);
32
scoped_ptr<
ValueStore
> delegate)
58
ValueStore
::ReadResult read_result = delegate_->Get();
88
ValueStore
::WriteOptions options =
ValueStore
::IGNORE_QUOTA;
127
ValueStore
::ReadResult PolicyValueStore::Get(const std::string& key) {
131
ValueStore
::ReadResult PolicyValueStore::Get(
136
ValueStore
::ReadResult PolicyValueStore::Get() {
140
ValueStore
::WriteResult PolicyValueStore::Set
[
all
...]
settings_frontend_unittest.cc
29
// To save typing
ValueStore
::DEFAULTS everywhere.
30
const
ValueStore
::WriteOptions DEFAULTS =
ValueStore
::DEFAULTS;
101
ValueStore
* storage = util::GetStorage(id, frontend_.get());
107
ValueStore
::WriteResult result = storage->Set(DEFAULTS, "foo", bar);
112
ValueStore
::ReadResult result = storage->Get();
121
ValueStore
::ReadResult result = storage->Get();
134
ValueStore
* storage = util::GetStorage(id, frontend_.get());
138
ValueStore
::WriteResult result = storage->Set(DEFAULTS, "foo", bar);
149
ValueStore
::ReadResult result = storage->Get()
[
all
...]
policy_value_store.h
23
// A
ValueStore
that is backed by another, persistent
ValueStore
, and stores
24
// the policies for a specific extension there. This
ValueStore
is used to
28
class PolicyValueStore : public
ValueStore
{
32
scoped_ptr<
ValueStore
> delegate);
45
//
ValueStore
implementation:
63
ValueStore
* delegate() { return delegate_.get(); }
68
scoped_ptr<
ValueStore
> delegate_;
settings_test_util.h
24
class
ValueStore
;
33
ValueStore
* GetStorage(
39
ValueStore
* GetStorage(
103
virtual
ValueStore
* Create(const base::FilePath& base_path,
storage_api.cc
76
void SettingsFunction::AsyncRunWithStorage(
ValueStore
* storage) {
84
bool SettingsFunction::UseReadResult(
ValueStore
::ReadResult result) {
94
bool SettingsFunction::UseWriteResult(
ValueStore
::WriteResult result) {
166
bool StorageStorageAreaGetFunction::RunWithStorage(
ValueStore
* storage) {
189
ValueStore
::ReadResult result = storage->Get(GetKeys(*as_dict));
197
ValueStore
::MakeReadResult(with_default_values));
202
ValueStore
::MakeReadResult(kUnsupportedArgumentType));
207
ValueStore
* storage) {
242
bool StorageStorageAreaSetFunction::RunWithStorage(
ValueStore
* storage) {
245
return UseWriteResult(storage->Set(
ValueStore
::DEFAULTS, *input))
[
all
...]
syncable_settings_storage.h
23
// Decorates a
ValueStore
with sync behaviour.
24
class SyncableSettingsStorage : public
ValueStore
{
30
ValueStore
* delegate);
34
//
ValueStore
implementation.
68
void SyncResultIfEnabled(const
ValueStore
::WriteResult& result);
102
const scoped_ptr<
ValueStore
> delegate_;
settings_storage_quota_enforcer.h
16
class SettingsStorageQuotaEnforcer : public
ValueStore
{
29
SettingsStorageQuotaEnforcer(const Limits& limits,
ValueStore
* delegate);
33
//
ValueStore
implementation.
55
scoped_ptr<
ValueStore
> const delegate_;
weak_unlimited_settings_storage.h
13
// A
ValueStore
decorator which makes calls through |Set| ignore quota.
16
class WeakUnlimitedSettingsStorage : public
ValueStore
{
19
explicit WeakUnlimitedSettingsStorage(
ValueStore
* delegate);
23
//
ValueStore
implementation.
42
ValueStore
* const delegate_;
settings_storage_quota_enforcer.cc
57
ValueStore
::WriteResult QuotaExceededFor(Resource resource) {
78
return
ValueStore
::MakeWriteResult(
85
const Limits& limits,
ValueStore
* delegate)
119
// All
ValueStore
implementations rely on GetBytesInUse being
124
ValueStore
::ReadResult SettingsStorageQuotaEnforcer::Get(
129
ValueStore
::ReadResult SettingsStorageQuotaEnforcer::Get(
134
ValueStore
::ReadResult SettingsStorageQuotaEnforcer::Get() {
138
ValueStore
::WriteResult SettingsStorageQuotaEnforcer::Set(
166
ValueStore
::WriteResult SettingsStorageQuotaEnforcer::Set(
199
ValueStore
::WriteResult SettingsStorageQuotaEnforcer::Remove
[
all
...]
settings_test_util.cc
18
static void AssignStorage(
ValueStore
** dst,
ValueStore
* src) {
22
ValueStore
* GetStorage(
26
ValueStore
* storage = NULL;
35
ValueStore
* GetStorage(
158
ValueStore
* ScopedSettingsStorageFactory::Create(
/external/chromium_org/chrome/browser/sync/test/integration/
extension_settings_helper.cc
42
ValueStore
* storage) {
87
ValueStore
* storage) {
89
storage->Set(
ValueStore
::DEFAULTS, *settings);
Completed in 165 milliseconds
1
2