OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PersistentPrefStore
(Results
1 - 25
of
37
) sorted by null
1
2
/external/chromium/chrome/common/
persistent_pref_store.h
16
class
PersistentPrefStore
: public PrefStore {
18
virtual ~
PersistentPrefStore
() {}
json_pref_store.cc
69
PersistentPrefStore
::PrefReadError* error);
75
PersistentPrefStore
::PrefReadError error_;
86
PersistentPrefStore
::PrefReadError* error) {
87
*error =
PersistentPrefStore
::PREF_READ_ERROR_NONE;
92
*error =
PersistentPrefStore
::PREF_READ_ERROR_ACCESS_DENIED;
95
*error =
PersistentPrefStore
::PREF_READ_ERROR_FILE_OTHER;
98
*error =
PersistentPrefStore
::PREF_READ_ERROR_FILE_LOCKED;
101
*error =
PersistentPrefStore
::PREF_READ_ERROR_NO_FILE;
104
*error =
PersistentPrefStore
::PREF_READ_ERROR_JSON_PARSE;
117
*error =
PersistentPrefStore
::PREF_READ_ERROR_JSON_REPEAT
[
all
...]
json_pref_store.h
27
class JsonPrefStore : public
PersistentPrefStore
,
50
//
PersistentPrefStore
overrides:
57
// todo(altimofeev): move it to the
PersistentPrefStore
inteface.
/external/chromium_org/android_webview/browser/
aw_pref_store.cc
59
PersistentPrefStore
::PrefReadError AwPrefStore::GetReadError() const {
60
return
PersistentPrefStore
::PREF_READ_ERROR_NONE;
63
PersistentPrefStore
::PrefReadError AwPrefStore::ReadPrefs() {
64
return
PersistentPrefStore
::PREF_READ_ERROR_NONE;
aw_pref_store.h
18
// subclass the
PersistentPrefStore
here since it is needed by the
20
class AwPrefStore : public
PersistentPrefStore
{
32
//
PersistentPrefStore
overrides:
42
virtual
PersistentPrefStore
::PrefReadError ReadPrefs() OVERRIDE;
/external/chromium_org/base/prefs/
pref_service_factory.h
44
void set_user_prefs(const scoped_refptr<
PersistentPrefStore
>& user_prefs) {
55
const base::Callback<void(
PersistentPrefStore
::PrefReadError)>&
77
scoped_refptr<
PersistentPrefStore
> user_prefs_;
80
base::Callback<void(
PersistentPrefStore
::PrefReadError)> read_error_callback_;
persistent_pref_store.h
16
class BASE_PREFS_EXPORT
PersistentPrefStore
: public PrefStore {
88
virtual ~
PersistentPrefStore
() {}
json_pref_store.cc
33
error_(
PersistentPrefStore
::PREF_READ_ERROR_NONE),
65
PersistentPrefStore
::PrefReadError* error,
80
PersistentPrefStore
::PrefReadError* error);
87
PersistentPrefStore
::PrefReadError error_;
100
PersistentPrefStore
::PrefReadError* error) {
101
*error =
PersistentPrefStore
::PREF_READ_ERROR_NONE;
107
*error =
PersistentPrefStore
::PREF_READ_ERROR_ACCESS_DENIED;
110
*error =
PersistentPrefStore
::PREF_READ_ERROR_FILE_OTHER;
113
*error =
PersistentPrefStore
::PREF_READ_ERROR_FILE_LOCKED;
116
*error =
PersistentPrefStore
::PREF_READ_ERROR_NO_FILE
[
all
...]
overlay_user_pref_store.h
18
//
PersistentPrefStore
that directs all write operations into an in-memory
21
// the look-up is passed on to an underlying
PersistentPrefStore
|underlay_|.
22
class BASE_PREFS_EXPORT OverlayUserPrefStore : public
PersistentPrefStore
,
25
explicit OverlayUserPrefStore(
PersistentPrefStore
* underlay);
40
// Methods of
PersistentPrefStore
.
77
scoped_refptr<
PersistentPrefStore
> underlay_;
json_pref_store_unittest.cc
33
class MockReadErrorDelegate : public
PersistentPrefStore
::ReadErrorDelegate {
35
MOCK_METHOD1(OnError, void(
PersistentPrefStore
::PrefReadError));
64
EXPECT_EQ(
PersistentPrefStore
::PREF_READ_ERROR_NO_FILE,
76
EXPECT_EQ(
PersistentPrefStore
::PREF_READ_ERROR_JSON_PARSE,
162
ASSERT_EQ(
PersistentPrefStore
::PREF_READ_ERROR_NONE, pref_store->ReadPrefs());
198
OnError(
PersistentPrefStore
::PREF_READ_ERROR_NONE)).Times(0);
235
ASSERT_EQ(
PersistentPrefStore
::PREF_READ_ERROR_NONE, pref_store->ReadPrefs());
260
OnError(
PersistentPrefStore
::PREF_READ_ERROR_NO_FILE)).Times(1);
overlay_user_pref_store.cc
11
PersistentPrefStore
* underlay)
100
PersistentPrefStore
::PrefReadError OverlayUserPrefStore::GetReadError() const {
101
return
PersistentPrefStore
::PREF_READ_ERROR_NONE;
104
PersistentPrefStore
::PrefReadError OverlayUserPrefStore::ReadPrefs() {
107
return
PersistentPrefStore
::PREF_READ_ERROR_NONE;
pref_service.h
146
PersistentPrefStore
* user_prefs,
148
base::Callback<void(
PersistentPrefStore
::PrefReadError)>
286
scoped_refptr<
PersistentPrefStore
> user_pref_store_;
289
base::Callback<void(
PersistentPrefStore
::PrefReadError)> read_error_callback_;
pref_service_factory.cc
20
void DoNothingHandleReadError(
PersistentPrefStore
::PrefReadError error) {
testing_pref_store.cc
60
PersistentPrefStore
::PrefReadError TestingPrefStore::GetReadError() const {
61
return
PersistentPrefStore
::PREF_READ_ERROR_NONE;
64
PersistentPrefStore
::PrefReadError TestingPrefStore::ReadPrefs() {
66
return
PersistentPrefStore
::PREF_READ_ERROR_NONE;
testing_pref_store.h
19
class TestingPrefStore : public
PersistentPrefStore
{
31
//
PersistentPrefStore
overrides:
41
virtual
PersistentPrefStore
::PrefReadError ReadPrefs() OVERRIDE;
pref_service.cc
26
class ReadErrorHandler : public
PersistentPrefStore
::ReadErrorDelegate {
28
ReadErrorHandler(base::Callback<void(
PersistentPrefStore
::PrefReadError)> cb)
31
virtual void OnError(
PersistentPrefStore
::PrefReadError error) OVERRIDE {
36
base::Callback<void(
PersistentPrefStore
::PrefReadError)> callback_;
44
PersistentPrefStore
* user_prefs,
46
base::Callback<void(
PersistentPrefStore
::PrefReadError)>
76
base::Bind(&
PersistentPrefStore
::ReadPrefsAsync,
217
case
PersistentPrefStore
::PREF_READ_ERROR_NONE:
219
case
PersistentPrefStore
::PREF_READ_ERROR_NO_FILE:
/external/chromium/chrome/browser/prefs/
overlay_persistent_pref_store.h
17
//
PersistentPrefStore
that directs all write operations into a in-memory
20
// the look-up is passed on to an underlying
PersistentPrefStore
|underlay_|.
21
class OverlayPersistentPrefStore : public
PersistentPrefStore
,
24
explicit OverlayPersistentPrefStore(
PersistentPrefStore
* underlay);
39
// Methods of
PersistentPrefStore
.
58
scoped_refptr<
PersistentPrefStore
> underlay_;
pref_service_mock_builder.h
35
PrefServiceMockBuilder& WithUserPrefs(
PersistentPrefStore
* store);
63
scoped_refptr<
PersistentPrefStore
> user_prefs_;
testing_pref_store.h
20
class TestingPrefStore : public
PersistentPrefStore
{
32
//
PersistentPrefStore
overrides:
39
virtual
PersistentPrefStore
::PrefReadError ReadPrefs();
overlay_persistent_pref_store.cc
10
PersistentPrefStore
* underlay)
81
PersistentPrefStore
::PrefReadError OverlayPersistentPrefStore::ReadPrefs() {
83
return
PersistentPrefStore
::PREF_READ_ERROR_NONE;
pref_service.h
23
class
PersistentPrefStore
;
125
virtual void OnPrefsRead(
PersistentPrefStore
::PrefReadError error,
261
PersistentPrefStore
* user_prefs,
339
scoped_refptr<
PersistentPrefStore
> user_pref_store_;
pref_service.cc
144
PersistentPrefStore
* user_prefs,
197
void PrefService::OnPrefsRead(
PersistentPrefStore
::PrefReadError error,
208
if (error !=
PersistentPrefStore
::PREF_READ_ERROR_NONE) {
213
if (error <=
PersistentPrefStore
::PREF_READ_ERROR_JSON_TYPE) {
215
} else if (error !=
PersistentPrefStore
::PREF_READ_ERROR_NO_FILE) {
232
const
PersistentPrefStore
::PrefReadError error =
236
// todo(altimofeev): move this method to
PersistentPrefStore
interface.
243
PersistentPrefStore
::PREF_READ_ERROR_NONE;
608
!=
PersistentPrefStore
::READ_OK ||
/external/chromium_org/chrome/browser/prefs/
chrome_pref_service_factory.cc
45
// Shows notifications which correspond to
PersistentPrefStore
's reading errors.
46
void HandleReadError(
PersistentPrefStore
::PrefReadError error) {
50
PersistentPrefStore
::PREF_READ_ERROR_MAX_ENUM);
52
if (error !=
PersistentPrefStore
::PREF_READ_ERROR_NONE) {
58
if (error <=
PersistentPrefStore
::PREF_READ_ERROR_JSON_TYPE) {
60
} else if (error !=
PersistentPrefStore
::PREF_READ_ERROR_NO_FILE) {
pref_service_syncable.h
42
PersistentPrefStore
* user_prefs,
44
base::Callback<void(
PersistentPrefStore
::PrefReadError)>
/external/chromium_org/chrome/browser/managed_mode/
managed_user_settings_service.h
20
class
PersistentPrefStore
;
75
void Init(scoped_refptr<
PersistentPrefStore
> pref_store);
152
scoped_refptr<
PersistentPrefStore
> store_;
Completed in 270 milliseconds
1
2