Home
last modified time | relevance | path

Searched refs:g_factory (Results 1 – 25 of 67) sorted by relevance

123

/external/chromium_org/content/browser/aura/
Dimage_transport_factory.cc14 ImageTransportFactory* g_factory = NULL; variable
20 DCHECK(!g_factory || g_initialized_for_unit_tests); in Initialize()
23 g_factory = new GpuProcessTransportFactory; in Initialize()
24 ui::ContextFactory::SetInstance(g_factory->AsContextFactory()); in Initialize()
29 DCHECK(!g_factory); in InitializeForUnitTests()
32 g_factory = new NoTransportImageTransportFactory(test_factory.Pass()); in InitializeForUnitTests()
33 ui::ContextFactory::SetInstance(g_factory->AsContextFactory()); in InitializeForUnitTests()
39 delete g_factory; in Terminate()
40 g_factory = NULL; in Terminate()
46 return g_factory; in GetInstance()
/external/chromium_org/chrome/browser/chromeos/settings/
Ddevice_oauth2_token_service_factory.cc20 DeviceOAuth2TokenServiceFactory* g_factory = NULL; variable
38 if (!g_factory) { in Get()
46 g_factory->RunAsync(callback); in Get()
53 DCHECK(!g_factory); in Initialize()
54 g_factory = new DeviceOAuth2TokenServiceFactory; in Initialize()
55 g_factory->CreateTokenService(); in Initialize()
62 if (g_factory) { in Shutdown()
63 delete g_factory; in Shutdown()
64 g_factory = NULL; in Shutdown()
/external/chromium/chrome/browser/net/
Dchrome_dns_cert_provenance_checker_factory.cc7 static DnsCertProvenanceCheckerFactory g_factory; variable
12 if (!g_factory) in CreateDnsCertProvenanceChecker()
15 return g_factory(dnsrr_resolver, url_req_context); in CreateDnsCertProvenanceChecker()
19 g_factory = f; in SetDnsCertProvenanceCheckerFactory()
/external/chromium_org/content/browser/android/in_process/
Dsynchronous_compositor_impl.cc39 base::LazyInstance<SynchronousCompositorFactoryImpl>::Leaky g_factory = variable
49 if (g_factory == NULL) in FromID()
88 g_factory.Get().SetDeferredGpuService(service); in SetGpuService()
99 g_factory.Get().GetOffscreenContextProviderForCompositorThread(); in InitializeHwDraw()
101 g_factory.Get().CreateOnscreenContextProviderForCompositorThread(surface); in InitializeHwDraw()
107 g_factory.Get().CompositorInitializedHardwareDraw(); in InitializeHwDraw()
115 g_factory.Get().CompositorReleasedHardwareDraw(); in ReleaseHwDraw()
204 return g_factory.Get().synchronous_input_event_filter()->HandleInputEvent( in HandleInputEvent()
273 g_factory.Get(); // Ensure it's initialized. in SetClientForWebContents()
/external/chromium_org/content/browser/renderer_host/
Dimage_transport_factory_android.cc33 static ImageTransportFactoryAndroid* g_factory = NULL; variable
157 if (!g_factory) in GetInstance()
158 g_factory = new CmdBufferImageTransportFactory(); in GetInstance()
160 return g_factory; in GetInstance()
188 delete g_factory; in DidLoseContext()
189 g_factory = NULL; in DidLoseContext()
/external/chromium_org/chrome/browser/chromeos/extensions/
Dmedia_player_api.cc31 g_factory = LAZY_INSTANCE_INITIALIZER; variable
35 return &g_factory.Get(); in GetFactoryInstance()
Dinput_method_api.cc101 g_factory = LAZY_INSTANCE_INITIALIZER; variable
105 return &g_factory.Get(); in GetFactoryInstance()
Dscreenlock_private_api.cc108 g_factory = LAZY_INSTANCE_INITIALIZER; variable
113 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/chrome/browser/extensions/api/usb/
Dusb_device_resource.cc24 g_factory = LAZY_INSTANCE_INITIALIZER; variable
30 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/chrome/browser/extensions/
Dextension_web_ui_override_registrar.cc47 g_factory = LAZY_INSTANCE_INITIALIZER; variable
52 return &g_factory.Get(); in GetFactoryInstance()
Dextension_commands_global_registry.cc36 g_factory = LAZY_INSTANCE_INITIALIZER; variable
41 return &g_factory.Get(); in GetFactoryInstance()
Ddev_mode_bubble_controller.cc30 g_factory = LAZY_INSTANCE_INITIALIZER; variable
52 return &g_factory.Get(); in GetFactoryInstance()
Dsuspicious_extension_bubble_controller.cc25 g_factory = LAZY_INSTANCE_INITIALIZER; variable
48 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/net/url_request/
Durl_fetcher_impl.cc16 static URLFetcherFactory* g_factory = NULL; variable
216 return g_factory; in factory()
221 g_factory = factory; in set_factory()
/external/chromium_org/chrome/browser/extensions/api/spellcheck/
Dspellcheck_api.cc54 g_factory = LAZY_INSTANCE_INITIALIZER; variable
58 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/chrome/browser/extensions/api/streams_private/
Dstreams_private_api.cc75 g_factory = LAZY_INSTANCE_INITIALIZER; variable
80 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/chrome/browser/extensions/signin/
Dgaia_auth_extension_loader.cc106 g_factory = LAZY_INSTANCE_INITIALIZER; variable
111 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/chrome/browser/extensions/api/audio/
Daudio_api.cc18 g_factory = LAZY_INSTANCE_INITIALIZER; variable
22 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/chrome/browser/extensions/api/messaging/
Dincognito_connectability.cc116 g_factory = LAZY_INSTANCE_INITIALIZER; variable
121 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/chrome/browser/extensions/api/input/
Dinput.cc151 g_factory = LAZY_INSTANCE_INITIALIZER; variable
155 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_windows_api.cc78 g_factory = LAZY_INSTANCE_INITIALIZER; variable
81 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/chrome/browser/extensions/api/socket/
Dsocket.cc21 g_factory = LAZY_INSTANCE_INITIALIZER; variable
27 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/chrome/service/cloud_print/
Dcloud_print_url_fetcher.cc82 CloudPrintURLFetcherFactory* g_factory = NULL; variable
98 return g_factory; in factory()
103 g_factory = factory; in set_factory()
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/
Dsigned_in_devices_manager.cc96 g_factory = LAZY_INSTANCE_INITIALIZER; variable
101 return &g_factory.Get(); in GetFactoryInstance()
/external/chromium_org/chrome/browser/extensions/api/braille_display_private/
Dbraille_display_private_api.cc54 g_factory = LAZY_INSTANCE_INITIALIZER; variable
59 return &g_factory.Get(); in GetFactoryInstance()

123