/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/chrome/browser/automation/ |
automation_tab_helper_browsertest.cc | 115 MockTabEventObserver mock_observer(tab_helper()); 117 ExpectClientRedirectAndBreak(&mock_observer, &mock_notification_observer); 129 MockTabEventObserver mock_observer(tab_helper()); 132 EXPECT_CALL(mock_observer, OnFirstPendingLoad(_)).Times(0); 143 MockTabEventObserver mock_observer(tab_helper()); 145 ExpectClientRedirectAndBreak(&mock_observer, &mock_notification_observer); 157 MockTabEventObserver mock_observer(tab_helper()); 159 ExpectClientRedirectAndBreak(&mock_observer, &mock_notification_observer); 167 MockTabEventObserver mock_observer(tab_helper()); 170 EXPECT_CALL(mock_observer, OnFirstPendingLoad(_)) [all...] |
/external/chromium_org/chrome/renderer/ |
content_settings_observer_browsertest.cc | 172 MockContentSettingsObserver mock_observer(view_); 190 EXPECT_CALL(mock_observer, 193 true, mock_observer.image_url_)); 201 ContentSettingsPattern::FromString(mock_observer.image_origin_), 207 mock_observer, 210 mock_observer.image_url_)); 215 MockContentSettingsObserver mock_observer(view_); 234 mock_observer, 237 mock_observer.image_url_)); 245 ContentSettingsPattern::FromString(mock_observer.image_origin_) [all...] |
/external/chromium_org/base/prefs/ |
json_pref_store_unittest.cc | 190 MockPrefStoreObserver mock_observer; local 191 pref_store->AddObserver(&mock_observer); 196 EXPECT_CALL(mock_observer, OnInitializationCompleted(true)).Times(1); 200 pref_store->RemoveObserver(&mock_observer); 252 MockPrefStoreObserver mock_observer; local 253 pref_store->AddObserver(&mock_observer); 258 EXPECT_CALL(mock_observer, OnInitializationCompleted(true)).Times(1); 262 pref_store->RemoveObserver(&mock_observer);
|
/external/chromium/chrome/browser/profiles/ |
profile_manager_unittest.cc | 168 MockObserver mock_observer; local 169 EXPECT_CALL(mock_observer, OnProfileCreated(testing::NotNull())).Times(1); 171 profile_manager_->CreateProfileAsync(dest_path, &mock_observer); 208 MockObserver mock_observer; local 209 EXPECT_CALL(mock_observer, OnProfileCreated(testing::NotNull())).Times(2); 211 profile_manager_->CreateProfileAsync(dest_path1, &mock_observer); 212 profile_manager_->CreateProfileAsync(dest_path2, &mock_observer);
|
/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/sync/test/integration/ |
autofill_helper.cc | 80 MockWebDataServiceObserver mock_observer; local 81 EXPECT_CALL(mock_observer, AutofillEntriesChanged(_)) 90 RunOnDBThreadAndBlock(Bind(add_observer_func, wds, &mock_observer)); 98 RunOnDBThreadAndBlock(Bind(remove_observer_func, wds, &mock_observer)); 189 MockWebDataServiceObserver mock_observer; local 190 EXPECT_CALL(mock_observer, AutofillEntriesChanged(_)) 198 RunOnDBThreadAndBlock(Bind(add_observer_func, wds, &mock_observer)); 207 RunOnDBThreadAndBlock(Bind(remove_observer_func, wds, &mock_observer));
|
/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 | 111 content_settings::MockObserver mock_observer; local 112 EXPECT_CALL(mock_observer, 118 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);
|
/external/chromium_org/chrome/browser/profiles/ |
profile_manager_unittest.cc | 117 MockObserver* mock_observer) { 121 base::Unretained(mock_observer)), 242 MockObserver mock_observer; local 243 EXPECT_CALL(mock_observer, OnProfileCreated( 247 "New Profile", &mock_observer); 284 MockObserver mock_observer; local 285 EXPECT_CALL(mock_observer, OnProfileCreated( 290 CreateProfileAsync(profile_manager, profile_name1, &mock_observer); 291 CreateProfileAsync(profile_manager, profile_name2, &mock_observer); 738 MockObserver mock_observer; local 779 MockObserver mock_observer; local 830 MockObserver mock_observer; local [all...] |
/external/chromium_org/chrome_frame/test/ |
mock_ie_event_sink_actions.h | 289 ACTION_P(WatchWindowProcess, mock_observer) { 290 mock_observer->WatchProcessForHwnd(arg0); 293 ACTION_P2(WatchBrowserProcess, mock_observer, mock) { 294 AccInWindow<void>(WatchWindowProcess(mock_observer), 298 ACTION_P2(WatchRendererProcess, mock_observer, mock) { 299 AccInWindow<void>(WatchWindowProcess(mock_observer),
|
/external/chromium_org/content/browser/geolocation/ |
geolocation_provider_unittest.cc | 238 MockGeolocationObserver mock_observer; local 239 EXPECT_CALL(mock_observer, OnLocationUpdate(GeopositionEq(position))); 242 base::Unretained(&mock_observer));
|
/external/chromium_org/chrome/browser/ui/ |
browser_browsertest.cc | [all...] |