OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kChangedPref
(Results
1 - 2
of
2
) sorted by null
/external/chromium/chrome/browser/prefs/
pref_notifier_impl_unittest.cc
24
const char
kChangedPref
[] = "changed_pref";
29
return strcmp(string_in->c_str(),
kChangedPref
) == 0;
64
pref_service_.RegisterBooleanPref(
kChangedPref
, true);
76
EXPECT_CALL(notifier, FireObservers(
kChangedPref
)).Times(1);
77
notifier.OnPreferenceChanged(
kChangedPref
);
160
notifier.AddPrefObserver(
kChangedPref
, &obs1_);
163
obs1_.Expect(&pref_service_,
kChangedPref
, &value_true);
165
notifier.OnPreferenceChanged(
kChangedPref
);
169
notifier.AddPrefObserver(
kChangedPref
, &obs2_);
172
obs1_.Expect(&pref_service_,
kChangedPref
, &value_true)
[
all
...]
/external/chromium_org/base/prefs/
pref_notifier_impl_unittest.cc
25
const char
kChangedPref
[] = "changed_pref";
96
pref_service_.registry()->RegisterBooleanPref(
kChangedPref
, true);
108
EXPECT_CALL(notifier, FireObservers(
kChangedPref
)).Times(1);
109
notifier.OnPreferenceChanged(
kChangedPref
);
187
notifier.AddPrefObserver(
kChangedPref
, &obs1_);
190
EXPECT_CALL(obs1_, OnPreferenceChanged(&pref_service_,
kChangedPref
));
192
notifier.OnPreferenceChanged(
kChangedPref
);
196
notifier.AddPrefObserver(
kChangedPref
, &obs2_);
199
EXPECT_CALL(obs1_, OnPreferenceChanged(&pref_service_,
kChangedPref
));
200
EXPECT_CALL(obs2_, OnPreferenceChanged(&pref_service_,
kChangedPref
));
[
all
...]
Completed in 32 milliseconds