/external/chromium_org/content/browser/frame_host/ |
render_frame_host_factory.cc | 14 RenderFrameHostFactory* RenderFrameHostFactory::factory_ = NULL; member in class:content::RenderFrameHostFactory 24 if (factory_) { 25 return factory_->CreateRenderFrameHost(render_view_host, 39 DCHECK(!factory_) << "Can't register two factories at once."; 40 factory_ = factory; 45 DCHECK(factory_) << "No factory to unregister."; 46 factory_ = NULL;
|
/external/chromium_org/content/browser/renderer_host/ |
render_view_host_factory.cc | 13 RenderViewHostFactory* RenderViewHostFactory::factory_ = NULL; member in class:content::RenderViewHostFactory 25 if (factory_) { 26 return factory_->CreateRenderViewHost(instance, delegate, frame_delegate, 37 DCHECK(!factory_) << "Can't register two factories at once."; 38 factory_ = factory; 43 DCHECK(factory_) << "No factory to unregister."; 44 factory_ = NULL;
|
/external/chromium_org/content/renderer/media/ |
audio_device_factory.cc | 16 AudioDeviceFactory* AudioDeviceFactory::factory_ = NULL; member in class:content::AudioDeviceFactory 21 if (factory_) { 23 factory_->CreateOutputDevice(render_view_id); 36 if (factory_) { 38 factory_->CreateInputDevice(render_view_id); 49 DCHECK(!factory_) << "Can't register two factories at once."; 50 factory_ = this; 54 factory_ = NULL;
|
rtc_video_decoder_factory_tv_unittest.cc | 24 : factory_(new RTCVideoDecoderFactoryTv), 45 factory_->ReleaseDemuxer(); 49 factory_->DestroyVideoDecoder(decoder_); 118 decoder_ = factory_->CreateVideoDecoder(webrtc::kVideoCodecVP8); 120 ASSERT_TRUE(factory_->AcquireDemuxer()); 144 video_stream_ = factory_->GetStream(media::DemuxerStream::VIDEO); 168 RTCVideoDecoderFactoryTv* factory_; member in class:content::RTCVideoDecoderFactoryTvTest 186 ASSERT_FALSE(factory_->CreateVideoDecoder(webrtc::kVideoCodecI420)); 187 decoder_ = factory_->CreateVideoDecoder(webrtc::kVideoCodecVP8); 190 ASSERT_FALSE(factory_->CreateVideoDecoder(webrtc::kVideoCodecVP8)) [all...] |
mock_media_stream_registry.cc | 22 : factory_(factory) { 28 factory_->CreateLocalMediaStream(kTestStreamLabel)); 39 return factory_->AddNativeVideoMediaTrack(track_id, &test_stream_, capturer);
|
/external/chromium_org/tools/clang/plugins/tests/ |
weak_ptr_factory.cpp | 9 base::WeakPtrFactory<OnlyMember> factory_; member in class:should_succeed::OnlyMember 15 base::WeakPtrFactory<FactoryLast> factory_; member in class:should_succeed::FactoryLast 27 base::WeakPtrFactory<FirstFactoryRefersToOtherType> factory_; member in class:should_succeed::FirstFactoryRefersToOtherType 35 base::WeakPtrFactory<FactoryFirst> factory_; member in class:should_fail::FactoryFirst 41 base::WeakPtrFactory<FactoryMiddle> factory_; member in class:should_fail::FactoryMiddle
|
weak_ptr_factory.txt | 2 base::WeakPtrFactory<FactoryFirst> factory_; 5 base::WeakPtrFactory<FactoryMiddle> factory_;
|
/external/chromium_org/chrome/browser/renderer_host/ |
safe_browsing_resource_throttle_factory.cc | 14 SafeBrowsingResourceThrottleFactory::factory_ = NULL; 25 if (factory_) 26 return factory_->CreateResourceThrottle(request, is_subresource, service);
|
/external/chromium_org/chrome_frame/ |
vtable_patch_manager_unittest.cc | 55 void* vtable = GetVtable(&factory_); 67 void* vtable = GetVtable(&factory_); 93 // Backup of the factory_ vtable as we found it at Setup. 95 // VirtualProtect flags on the factory_ vtable as we found it at Setup. 99 MockClassFactory factory_; member in class:__anon7162::VtablePatchManagerTest 137 EXPECT_CALL(factory_, LockServer(TRUE)) 139 EXPECT_EQ(E_FAIL, factory_.LockServer(TRUE)); 142 PatchInterfaceMethods(&factory_, IClassFactory_PatchInfo)); 144 EXPECT_NE(0, memcmp(GetVtable(&factory_), 149 EXPECT_CALL(factory_, LockServer(_) [all...] |
/external/chromium_org/ui/gfx/ozone/dri/ |
dri_surface_factory_unittest.cc | 207 scoped_ptr<MockDriSurfaceFactory> factory_; member in class:DriSurfaceFactoryTest 215 factory_.reset(new MockDriSurfaceFactory()); 219 factory_.reset(); 224 factory_->set_drm_wrapper_expectation(false); 226 EXPECT_EQ(gfx::SurfaceFactoryOzone::FAILED, factory_->InitializeHardware()); 231 factory_->InitializeHardware()); 235 factory_->set_initialize_controller_expectation(false); 238 factory_->InitializeHardware()); 240 gfx::AcceleratedWidget w = factory_->GetAcceleratedWidget(); 243 EXPECT_EQ(gfx::kNullAcceleratedWidget, factory_->RealizeAcceleratedWidget(w)) [all...] |
/external/chromium_org/media/audio/ |
test_audio_input_controller_factory.cc | 19 factory_(factory), 26 factory_->OnTestAudioInputControllerDestroyed(this); 30 if (factory_->delegate_) 31 factory_->delegate_->TestAudioControllerOpened(this); 36 if (factory_->delegate_) 37 factory_->delegate_->TestAudioControllerClosed(this);
|
/external/chromium/net/http/ |
http_network_layer_unittest.cc | 34 factory_.reset(new HttpNetworkLayer(network_session_)); 43 scoped_ptr<HttpNetworkLayer> factory_; member in class:net::__anon2801::HttpNetworkLayerTest 48 int rv = factory_->CreateTransaction(&trans); 55 int rv = factory_->CreateTransaction(&trans); 60 factory_->Suspend(true); 62 rv = factory_->CreateTransaction(&trans); 67 factory_->Suspend(false); 69 rv = factory_->CreateTransaction(&trans); 99 int rv = factory_->CreateTransaction(&trans);
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/ |
fakeportallocator.h | 32 factory_(factory), 42 port_.reset(cricket::UDPPort::Create(worker_thread_, factory_, 71 talk_base::PacketSocketFactory* factory_; member in class:cricket::FakePortAllocatorSession 82 : worker_thread_(worker_thread), factory_(factory) { 83 if (factory_ == NULL) { 86 factory_ = owned_factory_.get(); 96 worker_thread_, factory_, content_name, component, ice_ufrag, ice_pwd); 101 talk_base::PacketSocketFactory* factory_; member in class:cricket::FakePortAllocator
|
/external/chromium_org/net/quic/ |
quic_stream_factory_test.cc | 69 factory_(&host_resolver_, &socket_factory_, 77 factory_.set_require_confirmation(false); 163 MockClock* clock_; // Owned by factory_. 164 QuicStreamFactory factory_; member in class:net::test::QuicStreamFactoryTest 173 EXPECT_EQ(NULL, factory_.CreateIfSessionExists(host_port_proxy_pair_, 185 QuicStreamRequest request(&factory_); 195 stream = factory_.CreateIfSessionExists(host_port_proxy_pair_, net_log_); 200 QuicStreamRequest request2(&factory_); 218 QuicStreamRequest request(&factory_); 237 QuicStreamRequest request(&factory_); [all...] |
/external/chromium_org/content/test/ |
weburl_loader_mock.cc | 15 : factory_(factory), 57 if (factory_->IsMockedURL(request.url())) { 58 factory_->LoadSynchronously(request, &response, &error, &data); 70 if (factory_->IsMockedURL(request.url())) { 72 factory_->LoadAsynchronouly(request, this); 88 factory_->CancelLoad(this);
|
/external/chromium_org/net/dns/ |
dns_client.cc | 28 factory_.reset(); 39 factory_ = DnsTransactionFactory::CreateFactory(session_.get()); 48 return session_.get() ? factory_.get() : NULL; 57 scoped_ptr<DnsTransactionFactory> factory_; member in class:net::__anon9033::DnsClientImpl
|
/external/chromium_org/content/renderer/browser_plugin/ |
browser_plugin_manager.cc | 17 BrowserPluginManagerFactory* BrowserPluginManager::factory_ = NULL; member in class:content::BrowserPluginManager 21 if (factory_) 22 return factory_->CreateBrowserPluginManager(render_view);
|
/external/chromium_org/net/http/ |
http_pipelined_host_pool_unittest.cc | 74 factory_(new MockHostFactory), // Owned by pool_. 78 &delegate_, factory_, 105 EXPECT_CALL(*factory_, CreateNewHost(pool_.get(), Ref(key), _, 119 MockHostFactory* factory_; member in class:net::__anon9146::HttpPipelinedHostPoolTest 133 EXPECT_CALL(*factory_, CreateNewHost(pool_.get(), Ref(key_), _, 143 EXPECT_CALL(*factory_, CreateNewHost(pool_.get(), Ref(key_), _, 152 EXPECT_CALL(*factory_, CreateNewHost(pool_.get(), Ref(key_), _, 163 EXPECT_CALL(*factory_, CreateNewHost(pool_.get(), Ref(key_), _, 174 EXPECT_CALL(*factory_, CreateNewHost(pool_.get(), Ref(key_), _, 183 EXPECT_CALL(*factory_, CreateNewHost(pool_.get(), Ref(key_), _ [all...] |
/external/chromium_org/ppapi/examples/threading/ |
threading.cc | 16 factory_.Initialize(this); 26 factory_.NewCallback(&MyInstance::CallOnBackground)); 37 pp::CompletionCallbackFactory<MyInstance> factory_; member in class:MyInstance
|
/external/chromium_org/components/precache/core/ |
precache_fetcher_unittest.cc | 80 factory_(NULL, base::Bind(&TestURLFetcherCallback::CreateURLFetcher, 87 net::FakeURLFetcherFactory factory_; member in class:precache::__anon7521::PrecacheFetcherTest 123 factory_.SetFakeResponse(GURL(kConfigURL), config.SerializeAsString(), 125 factory_.SetFakeResponse(GURL(kManifestFetchFailureURL), "", 128 factory_.SetFakeResponse(GURL(kBadManifestURL), "bad protobuf", net::HTTP_OK, 130 factory_.SetFakeResponse(GURL(kGoodManifestURL), 133 factory_.SetFakeResponse(GURL(kResourceFetchFailureURL), 136 factory_.SetFakeResponse(GURL(kGoodResourceURL), "good", net::HTTP_OK, 164 factory_.SetFakeResponse(GURL(kConfigURL), "", 187 factory_.SetFakeResponse(GURL(kConfigURL), "bad protobuf", net::HTTP_OK [all...] |
/external/chromium_org/chrome/browser/ui/app_list/test/ |
app_list_shower_unittest.cc | 82 factory_ = new FakeFactory; 84 new AppListShower(scoped_ptr<AppListFactory>(factory_), 105 FakeFactory* factory_; member in class:AppListShowerUnitTest 136 EXPECT_EQ(1, factory_->views_created_); 143 EXPECT_EQ(2, factory_->views_created_); 169 EXPECT_EQ(1, factory_->views_created_);
|
/external/chromium/chrome/browser/profiles/ |
profile_keyed_service_factory.cc | 16 : dependency_manager_(manager), factory_(NULL) { 44 if (service || !factory_) 49 service = factory_(profile);
|
/external/chromium_org/apps/app_shim/ |
app_shim_host_manager_mac.h | 22 // socket (|factory_|) and creates a helper object to manage the connection. 51 // The |factory_| must be created on a thread which allows blocking I/O, so 62 scoped_ptr<IPC::ChannelFactory> factory_; member in class:AppShimHostManager
|
/external/chromium_org/ppapi/tests/manual/ |
delete_plugin.cc | 17 factory_.Initialize(this); 31 factory_.NewCallback(&MyInstance::SayHello)); 56 pp::CompletionCallbackFactory<MyInstance> factory_; member in class:MyInstance
|
/external/chromium/chrome/browser/sync/engine/net/ |
syncapi_server_connection_manager.cc | 19 : Post(scm), factory_(factory) { 34 HttpPostProviderInterface* http = factory_->Create(); 53 factory_->Destroy(http); 77 factory_->Destroy(http);
|