/external/chromium_org/chrome/browser/chromeos/input_method/ |
browser_state_monitor_unittest.cc | 53 MockObserver mock_observer; local 54 BrowserStateMonitor monitor(mock_observer.AsCallback()); 56 // Check the initial state of the |mock_observer| and |monitor| objects. 57 EXPECT_EQ(1, mock_observer.update_state_count()); 58 EXPECT_EQ(InputMethodManager::STATE_LOGIN_SCREEN, mock_observer.state());
|
/external/chromium_org/chrome/browser/content_settings/ |
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_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_pref_provider_unittest.cc | 111 content_settings::MockObserver mock_observer; local 112 EXPECT_CALL(mock_observer, 118 pref_content_settings_provider.AddObserver(&mock_observer);
|
/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/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/content/browser/geolocation/ |
geolocation_provider_unittest.cc | 246 MockGeolocationObserver mock_observer; local 247 EXPECT_CALL(mock_observer, OnLocationUpdate(GeopositionEq(position))); 250 base::Unretained(&mock_observer));
|
/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/chrome/browser/profiles/ |
profile_manager_unittest.cc | 125 MockObserver* mock_observer) { 129 base::Unretained(mock_observer)), 293 MockObserver mock_observer; local 294 EXPECT_CALL(mock_observer, OnProfileCreated( 299 CreateProfileAsync(profile_manager, profile_name1, false, &mock_observer); 300 CreateProfileAsync(profile_manager, profile_name2, false, &mock_observer); 308 MockObserver mock_observer; local 309 EXPECT_CALL(mock_observer, OnProfileCreated( 316 CreateProfileAsync(profile_manager, name, true, &mock_observer); 324 CreateProfileAsync(profile_manager, name, false, &mock_observer); 864 MockObserver mock_observer; local 1019 MockObserver mock_observer; local 1067 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));
|