Searched refs:factory_ (Results 1 - 25 of 231) sorted by relevance

12345678910

/external/chromium_org/content/browser/frame_host/
H A Drender_frame_host_factory.cc14 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;
H A Drender_frame_host_factory.h36 static bool has_factory() { return !!factory_; }
64 static RenderFrameHostFactory* factory_; member in class:content::RenderFrameHostFactory
/external/chromium_org/content/browser/renderer_host/
H A Drender_view_host_factory.cc13 RenderViewHostFactory* RenderViewHostFactory::factory_ = NULL; member in class:content::RenderViewHostFactory
24 if (factory_) {
25 return factory_->CreateRenderViewHost(instance, delegate, widget_delegate,
35 DCHECK(!factory_) << "Can't register two factories at once.";
36 factory_ = factory;
41 DCHECK(factory_) << "No factory to unregister.";
42 factory_ = NULL;
H A Drender_view_host_factory.h38 return !!factory_;
67 CONTENT_EXPORT static RenderViewHostFactory* factory_; member in class:content::RenderViewHostFactory
/external/chromium_org/content/renderer/media/
H A Daudio_device_factory.cc16 AudioDeviceFactory* AudioDeviceFactory::factory_ = NULL; member in class:content::AudioDeviceFactory
21 if (factory_) {
23 factory_->CreateOutputDevice(render_view_id);
37 if (factory_) {
39 factory_->CreateInputDevice(render_view_id);
50 DCHECK(!factory_) << "Can't register two factories at once.";
51 factory_ = this;
55 factory_ = NULL;
H A Dmedia_stream_audio_source.cc29 factory_(factory) {
36 factory_(NULL) {
52 if (!factory_->InitializeMediaStreamAudioSource(render_view_id_,
66 factory_->CreateLocalAudioTrack(track);
/external/chromium_org/tools/clang/plugins/tests/
H A Dweak_ptr_factory.cpp9 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
/external/chromium_org/chrome/browser/renderer_host/
H A Dsafe_browsing_resource_throttle_factory.cc16 SafeBrowsingResourceThrottleFactory::factory_ = NULL;
21 factory_ = factory;
30 if (factory_)
31 return factory_->CreateResourceThrottle(
/external/chromium_org/media/audio/
H A Dtest_audio_input_controller_factory.cc19 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_org/content/browser/compositor/
H A Dsurface_display_output_surface.cc23 factory_(surface_manager, this),
32 factory_.Destroy(surface_id_);
47 factory_.Destroy(surface_id_);
50 factory_.Create(surface_id_, frame_size);
57 factory_.SubmitFrame(
/external/chromium_org/mojo/public/cpp/application/lib/
H A Dservice_connector.h37 : ServiceConnectorBase(Interface::Name_), factory_(factory) {}
42 factory_->Create(application_connection_,
47 InterfaceFactory<Interface>* factory_; member in class:mojo::internal::InterfaceFactoryConnector
/external/chromium_org/ppapi/examples/threading/
H A Dthreading.cc16 factory_.Initialize(this);
26 factory_.NewCallback(&MyInstance::CallOnBackground));
37 pp::CompletionCallbackFactory<MyInstance> factory_; member in class:MyInstance
/external/chromium_org/ppapi/tests/manual/
H A Ddelete_plugin.cc17 factory_.Initialize(this);
31 factory_.NewCallback(&MyInstance::SayHello));
56 pp::CompletionCallbackFactory<MyInstance> factory_; member in class:MyInstance
/external/chromium_org/components/captive_portal/
H A Dcaptive_portal_testing_utils.h42 net::TestURLFetcher* fetcher() { return factory_.GetFetcherByID(0); }
47 net::TestURLFetcherFactory factory_; member in class:captive_portal::CaptivePortalDetectorTestBase
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
H A Dfakeportallocator.h55 factory_(factory),
66 factory_,
102 rtc::PacketSocketFactory* factory_; member in class:cricket::FakePortAllocatorSession
113 : worker_thread_(worker_thread), factory_(factory) {
114 if (factory_ == NULL) {
117 factory_ = owned_factory_.get();
127 worker_thread_, factory_, content_name, component, ice_ufrag, ice_pwd);
132 rtc::PacketSocketFactory* factory_; member in class:cricket::FakePortAllocator
/external/chromium_org/components/dom_distiller/core/
H A Ddistiller_url_fetcher_unittest.cc33 factory_.reset(new net::FakeURLFetcherFactory(NULL));
34 factory_->SetFakeResponse(
39 factory_->SetFakeResponse(
58 scoped_ptr<net::FakeURLFetcherFactory> factory_; member in class:DistillerURLFetcherTest
/external/chromium_org/extensions/browser/
H A Dextension_function_registry.cc40 iter->second.factory_ = factory;
51 ExtensionFunction* function = iter->second.factory_();
58 : factory_(0), histogram_value_(extensions::functions::UNKNOWN) {}
63 : factory_(factory), histogram_value_(histogram_value) {}
/external/chromium_org/net/dns/
H A Ddns_client.cc28 factory_.reset();
39 factory_ = DnsTransactionFactory::CreateFactory(session_.get());
48 return session_.get() ? factory_.get() : NULL;
57 scoped_ptr<DnsTransactionFactory> factory_; member in class:net::__anon9186::DnsClientImpl
/external/chromium_org/ui/ozone/platform/dri/
H A Ddri_surface_factory_unittest.cc67 scoped_ptr<ui::DriSurfaceFactory> factory_; member in class:DriSurfaceFactoryTest
81 factory_.reset(new ui::DriSurfaceFactory(
97 factory_.reset();
103 EXPECT_EQ(ui::DriSurfaceFactory::FAILED, factory_->InitializeHardware());
108 factory_->InitializeHardware());
113 factory_->InitializeHardware());
115 EXPECT_TRUE(factory_->CreateCanvasForWidget(
121 factory_->InitializeHardware());
123 scoped_ptr<ui::SurfaceOzoneCanvas> surf = factory_->CreateCanvasForWidget(
135 factory_
[all...]
/external/chromium_org/chrome/browser/autofill/
H A Dautofill_server_browsertest.cc59 : factory_(new net::TestURLFetcherFactory),
62 factory_->SetDelegateForTests(this);
69 factory_.reset();
74 net::TestURLFetcher* fetcher = factory_->GetFetcherByID(fetcher_id);
86 scoped_ptr<net::TestURLFetcherFactory> factory_; member in class:autofill::__anon2940::WindowedNetworkObserver
/external/chromium_org/third_party/webrtc/base/
H A Dreferencecountedsingletonfactory.h90 factory_(factory) {
119 factory_->ReleaseInstance();
132 return factory_;
145 instance_ = factory_->GetInstance();
150 ReferenceCountedSingletonFactory<Interface>* factory_; member in class:rtc::rcsf_ptr
/external/chromium_org/content/test/
H A Dweburl_loader_mock.cc15 : factory_(factory),
72 if (factory_->IsMockedURL(request.url())) {
73 factory_->LoadSynchronously(request, &response, &error, &data);
85 if (factory_->IsMockedURL(request.url())) {
87 factory_->LoadAsynchronouly(request, this);
103 factory_->CancelLoad(this);
/external/chromium_org/ppapi/examples/url_loader/
H A Dstream_to_file.cc35 factory_.Initialize(this);
65 pp::CompletionCallbackFactory<MyInstance> factory_; member in class:MyInstance
95 factory_.NewCallback(&MyInstance::OnOpenComplete));
105 factory_.NewCallback(&MyInstance::OnStreamComplete));
114 factory_.NewCallback(&MyInstance::OnOpenFileComplete));
126 factory_.NewCallback(&MyInstance::OnReadComplete));
/external/protobuf/src/google/protobuf/
H A Ddynamic_message_unittest.cc59 DynamicMessageFactory factory_; member in class:google::protobuf::DynamicMessageTest
67 DynamicMessageTest(): factory_(&pool_) {}
86 prototype_ = factory_.GetPrototype(descriptor_);
91 extensions_prototype_ = factory_.GetPrototype(extensions_descriptor_);
96 packed_prototype_ = factory_.GetPrototype(packed_descriptor_);
108 EXPECT_EQ(prototype_, factory_.GetPrototype(descriptor_));
/external/chromium_org/net/quic/
H A Dquic_stream_factory_test.cc103 factory_(&host_resolver_,
123 factory_.set_require_confirmation(false);
131 &factory_, host_port_pair, false, net_log_);
156 QuicStreamRequest request(&factory_);
171 &factory_, destination, is_https_);
187 factory_.OnSessionClosed(session);
205 MockClock* clock_; // Owned by factory_.
210 QuicStreamFactory factory_; member in class:net::test::QuicStreamFactoryTest
233 QuicStreamRequest request(&factory_);
252 QuicStreamRequest request2(&factory_);
[all...]

Completed in 635 milliseconds

12345678910