/external/chromium_org/chrome/browser/ui/search/ |
search_model_unittest.cc | 72 MockSearchModelObserver mock_observer; member in class:SearchModelTest 83 model->AddObserver(&mock_observer); 87 model->RemoveObserver(&mock_observer); 92 mock_observer.VerifyNotificationCount(0); 99 mock_observer.VerifySearchModelStates(expected_old_state, expected_new_state); 100 mock_observer.VerifyNotificationCount(1); 106 mock_observer.VerifySearchModelStates(expected_old_state, expected_new_state); 107 mock_observer.VerifyNotificationCount(2); 113 mock_observer.VerifyNotificationCount(2); 117 mock_observer.VerifyNotificationCount(0) [all...] |
/external/chromium_org/chrome/browser/prefs/ |
leveldb_pref_store_unittest.cc | 98 MockPrefStoreObserver mock_observer; local 99 pref_store->AddObserver(&mock_observer); 100 EXPECT_CALL(mock_observer, OnInitializationCompleted(true)).Times(1); 102 testing::Mock::VerifyAndClearExpectations(&mock_observer); 105 EXPECT_CALL(mock_observer, OnPrefValueChanged(key)).Times(1); 108 pref_store->RemoveObserver(&mock_observer); 114 MockPrefStoreObserver mock_observer; local 115 pref_store_->AddObserver(&mock_observer); 117 EXPECT_CALL(mock_observer, OnPrefValueChanged(key)).Times(0); 119 pref_store_->RemoveObserver(&mock_observer); 162 MockPrefStoreObserver mock_observer; local 199 MockPrefStoreObserver mock_observer; local 224 MockPrefStoreObserver mock_observer; local [all...] |
/external/chromium_org/chrome/renderer/ |
content_settings_observer_browsertest.cc | 172 MockContentSettingsObserver mock_observer(view_->GetMainRenderFrame()); 191 EXPECT_CALL(mock_observer, 193 EXPECT_FALSE(observer->allowImage(true, mock_observer.image_url_)); 201 ContentSettingsPattern::FromString(mock_observer.image_origin_), 207 mock_observer, 209 EXPECT_TRUE(observer->allowImage(true, mock_observer.image_url_)); 214 MockContentSettingsObserver mock_observer(view_->GetMainRenderFrame()); 234 mock_observer, 236 EXPECT_TRUE(observer->allowImage(true, mock_observer.image_url_)); 244 ContentSettingsPattern::FromString(mock_observer.image_origin_) [all...] |
/external/chromium_org/content/browser/quota/ |
storage_monitor_unittest.cc | 197 MockObserver mock_observer; local 199 observer_list.AddObserver(&mock_observer, params); 208 EXPECT_EQ(1, mock_observer.EventCount()); 209 EXPECT_EQ(event, mock_observer.LastEvent()); 217 EXPECT_EQ(1, mock_observer.EventCount()); 223 SetLastNotificationTime(observer_list, &mock_observer); 227 EXPECT_EQ(2, mock_observer.EventCount()); 228 EXPECT_EQ(event, mock_observer.LastEvent()); 235 observer_list.RemoveObserver(&mock_observer); 237 EXPECT_EQ(2, mock_observer.EventCount()) 305 MockObserver mock_observer; local 331 MockObserver mock_observer; local 417 MockObserver mock_observer; local 432 MockObserver mock_observer; local 465 MockObserver mock_observer; local 691 MockObserver mock_observer; local [all...] |
/external/chromium_org/base/prefs/ |
json_pref_store_unittest.cc | 270 MockPrefStoreObserver mock_observer; local 271 pref_store->AddObserver(&mock_observer); 276 EXPECT_CALL(mock_observer, OnInitializationCompleted(true)).Times(1); 280 pref_store->RemoveObserver(&mock_observer); 361 MockPrefStoreObserver mock_observer; local 362 pref_store->AddObserver(&mock_observer); 367 EXPECT_CALL(mock_observer, OnInitializationCompleted(true)).Times(1); 371 pref_store->RemoveObserver(&mock_observer); 440 MockPrefStoreObserver mock_observer; local 441 pref_store->AddObserver(&mock_observer); 641 MockPrefStoreObserver mock_observer; local [all...] |
/external/chromium_org/chrome/browser/chromeos/input_method/ |
browser_state_monitor_unittest.cc | 50 MockObserver mock_observer; local 51 BrowserStateMonitor monitor(mock_observer.AsCallback()); 53 // Check the initial ui_session_ of the |mock_observer| and |monitor| objects. 54 EXPECT_EQ(1, mock_observer.update_ui_session_count()); 55 EXPECT_EQ(InputMethodManager::STATE_LOGIN_SCREEN, mock_observer.ui_session());
|
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_policy_provider_unittest.cc | 114 MockObserver mock_observer; local 115 EXPECT_CALL(mock_observer, 120 provider.AddObserver(&mock_observer); 125 ::testing::Mock::VerifyAndClearExpectations(&mock_observer); 126 EXPECT_CALL(mock_observer,
|
content_settings_default_provider_unittest.cc | 122 content_settings::MockObserver mock_observer; local 123 EXPECT_CALL(mock_observer, 126 provider_.AddObserver(&mock_observer); 134 EXPECT_CALL(mock_observer,
|
content_settings_pref_provider_unittest.cc | 112 content_settings::MockObserver mock_observer; local 113 EXPECT_CALL(mock_observer, 119 pref_content_settings_provider.AddObserver(&mock_observer);
|
tab_specific_content_settings_unittest.cc | 350 MockSiteDataObserver mock_observer(content_settings); 351 EXPECT_CALL(mock_observer, OnSiteDataAccessed()).Times(6);
|
host_content_settings_map_unittest.cc | 996 content_settings::MockObserver mock_observer; local [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
autofill_helper.cc | 81 MockWebDataServiceObserver mock_observer; local 82 EXPECT_CALL(mock_observer, AutofillEntriesChanged(_)) 91 RunOnDBThreadAndBlock(Bind(add_observer_func, wds, &mock_observer)); 99 RunOnDBThreadAndBlock(Bind(remove_observer_func, wds, &mock_observer)); 190 MockWebDataServiceObserver mock_observer; local 191 EXPECT_CALL(mock_observer, AutofillEntriesChanged(_)) 199 RunOnDBThreadAndBlock(Bind(add_observer_func, wds, &mock_observer)); 208 RunOnDBThreadAndBlock(Bind(remove_observer_func, wds, &mock_observer));
|
/external/chromium_org/chrome/browser/profiles/ |
profile_manager_unittest.cc | 129 MockObserver* mock_observer) { 133 base::Unretained(mock_observer)), 313 MockObserver mock_observer; local 314 EXPECT_CALL(mock_observer, OnProfileCreated( 319 CreateProfileAsync(profile_manager, profile_name1, false, &mock_observer); 320 CreateProfileAsync(profile_manager, profile_name2, false, &mock_observer); 328 MockObserver mock_observer; local 329 EXPECT_CALL(mock_observer, OnProfileCreated( 336 CreateProfileAsync(profile_manager, name, true, &mock_observer); 344 CreateProfileAsync(profile_manager, name, false, &mock_observer); 878 MockObserver mock_observer; local 911 MockObserver mock_observer; local 949 MockObserver mock_observer; local 1207 MockObserver mock_observer; local 1255 MockObserver mock_observer; local [all...] |
/external/chromium_org/content/browser/geolocation/ |
geolocation_provider_impl_unittest.cc | 246 MockGeolocationObserver mock_observer; local 247 EXPECT_CALL(mock_observer, OnLocationUpdate(GeopositionEq(position))); 250 base::Unretained(&mock_observer));
|
/external/chromium_org/chrome/browser/ui/ |
browser_browsertest.cc | [all...] |