Searched defs:state_map (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/chrome/browser/sync/glue/
H A Dbackend_data_type_configurer.cc13 DataTypeConfigState state, const DataTypeConfigStateMap& state_map) {
15 for (DataTypeConfigStateMap::const_iterator type_it = state_map.begin();
16 type_it != state_map.end(); ++type_it) {
26 DataTypeConfigStateMap* state_map) {
28 (*state_map)[it.Get()] = state;
12 GetDataTypesInState( DataTypeConfigState state, const DataTypeConfigStateMap& state_map) argument
24 SetDataTypesState( DataTypeConfigState state, syncer::ModelTypeSet types, DataTypeConfigStateMap* state_map) argument
/external/chromium/chrome/browser/geolocation/
H A Dgeolocation_settings_state.h25 const StateMap& state_map() const { function in class:GeolocationSettingsState
H A Dgeolocation_settings_state_unittest.cc45 GeolocationSettingsState::StateMap state_map = local
46 state.state_map();
47 EXPECT_EQ(2U, state_map.size());
106 state.state_map();
107 EXPECT_EQ(state_map.size(), new_state_map.size());
113 EXPECT_TRUE(state.state_map().empty());
147 GeolocationSettingsState::StateMap state_map = local
148 state.state_map();
149 EXPECT_EQ(3U, state_map.size());
H A Dgeolocation_permission_context_unittest.cc164 const GeolocationSettingsState::StateMap& state_map = local
165 content_settings->geolocation_settings_state().state_map();
166 EXPECT_EQ(1U, state_map.count(requesting_frame.GetOrigin()));
167 EXPECT_EQ(0U, state_map.count(requesting_frame));
169 state_map.find(requesting_frame.GetOrigin());
170 ASSERT_FALSE(settings == state_map.end())
/external/chromium_org/chrome/browser/content_settings/
H A Dcontent_settings_usages_state_unittest.cc57 ContentSettingsUsagesState::StateMap state_map = local
58 state.state_map();
59 EXPECT_EQ(2U, state_map.size());
118 state.state_map();
119 EXPECT_EQ(state_map.size(), new_state_map.size());
125 EXPECT_TRUE(state.state_map().empty());
171 ContentSettingsUsagesState::StateMap state_map = local
172 state.state_map();
173 EXPECT_EQ(3U, state_map.size());
H A Dcontent_settings_usages_state.h30 const StateMap& state_map() const { function in class:ContentSettingsUsagesState
/external/chromium_org/chrome/browser/geolocation/
H A Dgeolocation_settings_state_unittest.cc60 GeolocationSettingsState::StateMap state_map = local
61 state.state_map();
62 EXPECT_EQ(2U, state_map.size());
121 state.state_map();
122 EXPECT_EQ(state_map.size(), new_state_map.size());
128 EXPECT_TRUE(state.state_map().empty());
174 GeolocationSettingsState::StateMap state_map = local
175 state.state_map();
176 EXPECT_EQ(3U, state_map.size());
H A Dchrome_geolocation_permission_context_unittest.cc223 const ContentSettingsUsagesState::StateMap& state_map = local
224 content_settings->geolocation_usages_state().state_map();
225 EXPECT_EQ(1U, state_map.count(requesting_frame.GetOrigin()));
226 EXPECT_EQ(0U, state_map.count(requesting_frame));
228 state_map.find(requesting_frame.GetOrigin());
229 ASSERT_FALSE(settings == state_map.end())
/external/chromium_org/chrome/browser/predictors/
H A Dlogged_in_predictor_table.cc123 LoggedInPredictorTable::LoggedInStateMap* state_map) {
125 DCHECK(state_map != NULL);
126 state_map->clear();
136 (*state_map)[domain] = value;
122 GetAllData( LoggedInPredictorTable::LoggedInStateMap* state_map) argument
/external/chromium_org/sync/notifier/
H A Dunacked_invalidation_set_test_util.cc87 const UnackedInvalidationsMap& state_map) {
89 for (UnackedInvalidationsMap::const_iterator it = state_map.begin();
90 it != state_map.end(); ++it) {
86 UnackedInvalidationsMapToObjectIdInvalidationMap( const UnackedInvalidationsMap& state_map) argument
/external/chromium_org/chrome/browser/extensions/
H A Dblacklist.cc120 const Blacklist::BlacklistStateMap& state_map) {
121 callback.Run(state_map.empty() ? Blacklist::NOT_BLACKLISTED
122 : state_map.begin()->second);
127 const Blacklist::BlacklistStateMap& state_map) {
129 for (Blacklist::BlacklistStateMap::const_iterator it = state_map.begin();
130 it != state_map.end(); ++it) {
118 CheckOneExtensionState( const Blacklist::IsBlacklistedCallback& callback, const Blacklist::BlacklistStateMap& state_map) argument
125 GetMalwareFromBlacklistStateMap( const Blacklist::GetMalwareIDsCallback& callback, const Blacklist::BlacklistStateMap& state_map) argument
/external/chromium/chrome/browser/
H A Dcontent_setting_bubble_model.cc465 const GeolocationSettingsState::StateMap& state_map = variable
466 content_settings->geolocation_settings_state().state_map();
470 state_map.begin(); it != state_map.end(); ++it) {
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dprofile_sync_service_harness.cc1051 browser_sync::DataTypeController::StateMap state_map; local
1052 service()->GetDataTypeControllerStates(&state_map);
1053 return (state_map.count(type) != 0 &&
1054 state_map[type] == browser_sync::DataTypeController::RUNNING);
1066 browser_sync::DataTypeController::StateMap state_map; local
1067 service()->GetDataTypeControllerStates(&state_map);
1068 return state_map.size();
/external/chromium_org/chrome/browser/ui/content_settings/
H A Dcontent_setting_bubble_model.cc949 const ContentSettingsUsagesState::StateMap& state_map = local
950 content_settings->geolocation_usages_state().state_map();
955 state_map.begin(); it != state_map.end(); ++it) {
1200 const ContentSettingsUsagesState::StateMap& state_map = local
1201 content_settings->midi_usages_state().state_map();
1206 state_map.begin(); it != state_map.end(); ++it) {

Completed in 332 milliseconds