/external/chromium_org/chromeos/network/ |
network_sms_handler_unittest.cc | 81 test_observer_.reset(new TestObserver()); 82 network_sms_handler_->AddObserver(test_observer_.get()); 95 scoped_ptr<TestObserver> test_observer_; member in class:chromeos::NetworkSmsHandlerTest 99 EXPECT_EQ(test_observer_->message_count(), 0); 102 const std::set<std::string>& messages(test_observer_->messages()); 110 test_observer_->ClearMessages(); 113 EXPECT_GE(test_observer_->message_count(), 1);
|
network_state_handler_unittest.cc | 146 network_state_handler_->RemoveObserver(test_observer_.get(), FROM_HERE); 147 test_observer_.reset(); 155 test_observer_.reset(new TestObserver(network_state_handler_.get())); 156 network_state_handler_->AddObserver(test_observer_.get(), FROM_HERE); 196 scoped_ptr<TestObserver> test_observer_; member in class:chromeos::NetworkStateHandlerTest 206 test_observer_->network_count()); 209 test_observer_->default_network()); 227 test_observer_->default_network_connection_state()); 232 size_t initial_changed_count = test_observer_->device_list_changed_count(); 240 test_observer_->device_list_changed_count()) [all...] |
network_configuration_handler_unittest.cc | 439 test_observer_.reset(new TestObserver()); 440 network_state_handler_->AddObserver(test_observer_.get(), FROM_HERE); 446 test_observer_->ClearPropertyUpdates(); 451 network_state_handler_->RemoveObserver(test_observer_.get(), FROM_HERE); 496 scoped_ptr<TestObserver> test_observer_; member in class:chromeos::NetworkConfigurationHandlerStubTest 533 EXPECT_EQ(1, test_observer_->PropertyUpdatesForService(service_path)); 553 EXPECT_EQ(2, test_observer_->PropertyUpdatesForService(service_path));
|
/external/chromium_org/chromeos/audio/ |
cras_audio_handler_unittest.cc | 236 cras_audio_handler_->RemoveAudioObserver(test_observer_.get()); 237 test_observer_.reset(); 251 test_observer_.reset(new TestObserver); 252 cras_audio_handler_->AddAudioObserver(test_observer_.get()); 265 scoped_ptr<TestObserver> test_observer_; member in class:chromeos::CrasAudioHandlerTest 332 EXPECT_EQ(0, test_observer_->active_output_node_changed_count()); 344 EXPECT_EQ(1, test_observer_->active_output_node_changed_count()); 360 EXPECT_EQ(0, test_observer_->active_input_node_changed_count()); 369 EXPECT_EQ(1, test_observer_->active_input_node_changed_count()); 384 EXPECT_EQ(0, test_observer_->audio_nodes_changed_count()) [all...] |
/external/chromium_org/ash/system/chromeos/power/ |
power_status_unittest.cc | 49 test_observer_.reset(new TestObserver); 50 power_status_->AddObserver(test_observer_.get()); 54 power_status_->RemoveObserver(test_observer_.get()); 55 test_observer_.reset(); 63 scoped_ptr<TestObserver> test_observer_; member in class:ash::internal::PowerStatusTest 76 EXPECT_EQ(1, test_observer_->power_changed_count()); 82 EXPECT_EQ(2, test_observer_->power_changed_count());
|
/external/chromium_org/chrome/browser/history/android/ |
sqlite_cursor.cc | 123 if (test_observer_) 124 test_observer_->OnPostMoveToTask(); 159 test_observer_(NULL) { 186 if (test_observer_) 187 test_observer_->OnPostGetFaviconTask(); 217 if (test_observer_) 218 test_observer_->OnGetFaviconResult(); 225 if (test_observer_) 227 test_observer_->OnGetMoveToResult();
|
sqlite_cursor.h | 145 test_observer_ = test_observer; 192 TestObserver* test_observer_; member in class:SQLiteCursor
|