/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
D | iphoto_data_provider_browsertest.cc | 89 IPhotoDataProvider* data_provider() const { in data_provider() function in iphoto::IPhotoDataProviderTest 129 data_provider()->RefreshData(base::Bind(&IPhotoDataProviderTest::StartTest, in StartTestOnMediaTaskRunner() 274 std::vector<std::string> names = data_provider()->GetAlbumNames(); in StartTest() 279 data_provider()->GetPhotoLocationInAlbum( in StartTest() 282 data_provider()->GetPhotoLocationInAlbum( in StartTest() 285 data_provider()->GetPhotoLocationInAlbum( in StartTest() 288 data_provider()->GetPhotoLocationInAlbum( in StartTest() 294 data_provider()->GetPhotoLocationInAlbum( in StartTest() 297 data_provider()->GetPhotoLocationInAlbum( in StartTest() 301 data_provider()->GetAlbumContents("nonexistent"); in StartTest() [all …]
|
D | picasa_data_provider_browsertest.cc | 26 void VerifyTestAlbumTable(PicasaDataProvider* data_provider, in VerifyTestAlbumTable() argument 29 scoped_ptr<AlbumMap> folders = data_provider->GetFolders(); in VerifyTestAlbumTable() 49 scoped_ptr<AlbumMap> albums = data_provider->GetAlbums(); in VerifyTestAlbumTable() 66 void VerifyTestAlbumsImagesIndex(PicasaDataProvider* data_provider, in VerifyTestAlbumsImagesIndex() argument 71 data_provider->FindAlbumImages("uid3", &error); in VerifyTestAlbumsImagesIndex() 84 data_provider->FindAlbumImages("uid5", &error); in VerifyTestAlbumsImagesIndex() 226 TestPicasaDataProvider* data_provider() const { in data_provider() function in picasa::PicasaDataProviderTest 256 data_provider()->RefreshData( in StartTestOnMediaTaskRunner() 327 data_provider(), test_folder_1_path(), test_folder_2_path()); in VerifyRefreshResults() 351 data_provider(), test_folder_1_path(), test_folder_2_path()); in VerifyRefreshResults() [all …]
|
D | itunes_data_provider_browsertest.cc | 110 ITunesDataProvider* data_provider() const { in data_provider() function in itunes::ITunesDataProviderTest 127 data_provider()->GetTrackLocation( in ExpectTrackLocation() 133 EXPECT_TRUE(data_provider()->GetTrackLocation( in ExpectNoTrack() 167 data_provider()->RefreshData(base::Bind(&ITunesDataProviderTest::StartTest, in StartTestOnMediaTaskRunner() 231 EXPECT_TRUE(data_provider()->KnownArtist("Artist")); in StartTest() 232 EXPECT_FALSE(data_provider()->KnownArtist("Artist2")); in StartTest() 235 EXPECT_TRUE(data_provider()->KnownAlbum("Artist", "Album")); in StartTest() 236 EXPECT_FALSE(data_provider()->KnownAlbum("Artist", "Album2")); in StartTest() 237 EXPECT_FALSE(data_provider()->KnownAlbum("Artist2", "Album")); in StartTest() 247 data_provider()->GetArtistNames(); in StartTest() [all …]
|
D | itunes_file_util_unittest.cc | 100 ITunesDataProvider* data_provider) in TestITunesFileUtil() argument 102 data_provider_(data_provider) { in TestITunesFileUtil() 220 TestITunesDataProvider* data_provider() const { in data_provider() function in itunes::ItunesFileUtilTest 257 data_provider()->SetProvideAutoAddDir(false); in TEST_F() 273 data_provider()->SetProvideAutoAddDir(true); in TEST_F() 293 data_provider()->SetProvideAutoAddDir(true); in TEST_F() 295 data_provider()->auto_add_path().AppendASCII("baz.ogg"), NULL, 0)); in TEST_F() 311 data_provider()->SetProvideAutoAddDir(true); in TEST_F() 313 data_provider()->auto_add_path().AppendASCII("foo").AppendASCII("bar"); in TEST_F()
|
D | iphoto_file_util.cc | 83 IPhotoDataProvider* data_provider = GetDataProvider(); in GetFileInfoOnTaskRunnerThread() local 86 if (!data_provider) { in GetFileInfoOnTaskRunnerThread() 89 data_provider->RefreshData( in GetFileInfoOnTaskRunnerThread() 100 IPhotoDataProvider* data_provider = GetDataProvider(); in ReadDirectoryOnTaskRunnerThread() local 103 if (!data_provider) { in ReadDirectoryOnTaskRunnerThread() 106 data_provider->RefreshData( in ReadDirectoryOnTaskRunnerThread() 117 IPhotoDataProvider* data_provider = GetDataProvider(); in CreateSnapshotFileOnTaskRunnerThread() local 120 if (!data_provider) { in CreateSnapshotFileOnTaskRunnerThread() 124 data_provider->RefreshData( in CreateSnapshotFileOnTaskRunnerThread()
|
D | itunes_file_util.cc | 72 ITunesDataProvider* data_provider = GetDataProvider(); in GetFileInfoOnTaskRunnerThread() local 75 if (!data_provider) { in GetFileInfoOnTaskRunnerThread() 78 data_provider->RefreshData( in GetFileInfoOnTaskRunnerThread() 89 ITunesDataProvider* data_provider = GetDataProvider(); in ReadDirectoryOnTaskRunnerThread() local 92 if (!data_provider) { in ReadDirectoryOnTaskRunnerThread() 95 data_provider->RefreshData( in ReadDirectoryOnTaskRunnerThread() 106 ITunesDataProvider* data_provider = GetDataProvider(); in CreateSnapshotFileOnTaskRunnerThread() local 109 if (!data_provider) { in CreateSnapshotFileOnTaskRunnerThread() 113 data_provider->RefreshData( in CreateSnapshotFileOnTaskRunnerThread()
|
D | picasa_file_util.cc | 92 PicasaDataProvider* data_provider = GetDataProvider(); in GetFileInfoOnTaskRunnerThread() local 95 if (!data_provider) { in GetFileInfoOnTaskRunnerThread() 98 data_provider->RefreshData( in GetFileInfoOnTaskRunnerThread() 112 PicasaDataProvider* data_provider = GetDataProvider(); in ReadDirectoryOnTaskRunnerThread() local 115 if (!data_provider) { in ReadDirectoryOnTaskRunnerThread() 118 data_provider->RefreshData( in ReadDirectoryOnTaskRunnerThread()
|
D | iphoto_file_util_unittest.cc | 126 IPhotoDataProvider* data_provider) in TestIPhotoFileUtil() argument 128 data_provider_(data_provider) { in TestIPhotoFileUtil() 252 TestIPhotoDataProvider* data_provider() const { in data_provider() function in iphoto::IPhotoFileUtilTest
|
D | picasa_file_util_unittest.cc | 189 PicasaDataProvider* data_provider) in TestPicasaFileUtil() argument 191 data_provider_(data_provider) { in TestPicasaFileUtil()
|
/external/chromium_org/net/socket/ |
D | socks_client_socket_pool_unittest.cc | 84 SocketDataProvider* data_provider() { return data_.get(); } in data_provider() function in net::__anon9116ff320111::SOCKSClientSocketPoolTest::SOCKS5MockData 131 data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_F() 132 transport_client_socket_factory_.AddSocketDataProvider(data.data_provider()); in TEST_F() 149 data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_F() 151 data.data_provider()); in TEST_F() 168 data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_F() 170 data.data_provider()); in TEST_F() 184 transport_client_socket_factory_.AddSocketDataProvider(data.data_provider()); in TEST_F() 277 transport_client_socket_factory_.AddSocketDataProvider(data.data_provider()); in TEST_F() 281 transport_client_socket_factory_.AddSocketDataProvider(data2.data_provider()); in TEST_F() [all …]
|
D | socket_test_util.cc | 677 SocketDataProvider* data_provider = mock_data_.GetNext(); in CreateDatagramClientSocket() local 679 new MockUDPClientSocket(data_provider, net_log)); in CreateDatagramClientSocket() 680 data_provider->set_socket(socket.get()); in CreateDatagramClientSocket() 690 SocketDataProvider* data_provider = mock_data_.GetNext(); in CreateTransportClientSocket() local 692 new MockTCPClientSocket(addresses, net_log, data_provider)); in CreateTransportClientSocket() 693 data_provider->set_socket(socket.get()); in CreateTransportClientSocket() 1829 DeterministicSocketData* data_provider = mock_data().GetNext(); in CreateDatagramClientSocket() local 1831 new DeterministicMockUDPClientSocket(net_log, data_provider)); in CreateDatagramClientSocket() 1832 data_provider->set_delegate(socket->AsWeakPtr()); in CreateDatagramClientSocket() 1844 DeterministicSocketData* data_provider = mock_data().GetNext(); in CreateTransportClientSocket() local [all …]
|
D | socket_test_util.h | 601 void Add(T* data_provider) { in Add() argument 602 DCHECK(data_provider); in Add() 603 data_providers_.push_back(data_provider); in Add()
|
/external/chromium_org/net/socket_stream/ |
D | socket_stream_unittest.cc | 419 DelayedSocketData data_provider( in TEST_F() local 425 mock_socket_factory->AddSocketDataProvider(&data_provider); in TEST_F() 433 EXPECT_TRUE(data_provider.at_read_eof()); in TEST_F() 434 EXPECT_TRUE(data_provider.at_write_eof()); in TEST_F() 467 StaticSocketDataProvider data_provider(NULL, 0, NULL, 0); in TEST_F() local 470 mock_socket_factory->AddSocketDataProvider(&data_provider); in TEST_F() 498 DelayedSocketData data_provider(1, NULL, 0, NULL, 0); in TEST_F() local 502 mock_socket_factory->AddSocketDataProvider(&data_provider); in TEST_F() 738 DelayedSocketData data_provider( in TEST_F() local 744 mock_socket_factory->AddSocketDataProvider(&data_provider); in TEST_F() [all …]
|
/external/chromium_org/net/dns/ |
D | dns_session_unittest.cc | 192 SocketDataProvider* data_provider = new StaticSocketDataProvider(); in CreateDatagramClientSocket() local 193 data_providers_.push_back(data_provider); in CreateDatagramClientSocket() 195 new MockUDPClientSocket(data_provider, net_log)); in CreateDatagramClientSocket() 196 data_provider->set_socket(socket.get()); in CreateDatagramClientSocket()
|
D | dns_transaction_unittest.cc | 192 SocketDataProvider* data_provider = mock_data().GetNext(); in CreateDatagramClientSocket() local 194 new TestUDPClientSocket(this, data_provider, net_log)); in CreateDatagramClientSocket() 195 data_provider->set_socket(socket.get()); in CreateDatagramClientSocket()
|
/external/chromium_org/content/child/ |
D | threaded_data_provider.cc | 162 void DestructOnMainThread(ThreadedDataProvider* data_provider) { in DestructOnMainThread() argument 168 delete data_provider; in DestructOnMainThread()
|
/external/chromium_org/google_apis/gcm/base/ |
D | socket_stream_unittest.cc | 49 net::DelayedSocketData* data_provider() { return data_provider_.get(); } in data_provider() function in gcm::__anon7c460e9e0111::GCMSocketStreamTest 244 base::Unretained(data_provider()))); in TEST_F()
|
/external/chromium_org/google_apis/gcm/engine/ |
D | connection_handler_impl_unittest.cc | 120 net::DelayedSocketData* data_provider() { return data_provider_.get(); } in data_provider() function in gcm::__anonbc013fe30111::GCMConnectionHandlerImplTest 577 data_provider()->ForceNextRead(); in TEST_F()
|
/external/chromium_org/net/http/ |
D | http_network_transaction_unittest.cc | 9706 StaticSocketDataProvider data_provider( in TEST_P() local 9708 session_deps_.socket_factory->AddSocketDataProvider(&data_provider); in TEST_P() 9843 StaticSocketDataProvider data_provider(reads, arraysize(reads), in TEST_P() local 9845 session_deps_.socket_factory->AddSocketDataProvider(&data_provider); in TEST_P()
|