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

/external/chromium_org/extensions/shell/browser/
H A Ddesktop_controller.cc13 DesktopController* g_instance = NULL; member in namespace:extensions::__anon8294
19 return g_instance;
23 CHECK(!g_instance) << "DesktopController already exists";
24 g_instance = this;
28 DCHECK(g_instance);
29 g_instance = NULL;
H A Dshell_content_browser_client.cc45 ShellContentBrowserClient* g_instance = NULL; member in namespace:extensions::__anon8296
52 DCHECK(!g_instance);
53 g_instance = this;
57 g_instance = NULL;
62 return g_instance;
/external/chromium_org/content/common/android/
H A Dsurface_texture_lookup.cc12 SurfaceTextureLookup* g_instance = NULL; member in namespace:content::__anon7564
17 DCHECK(g_instance);
18 return g_instance;
23 DCHECK(!g_instance || !instance);
24 g_instance = instance;
/external/chromium_org/content/common/gpu/
H A Dgpu_surface_lookup.cc11 GpuSurfaceLookup* g_instance = NULL; member in namespace:content::__anon7599
16 DCHECK(g_instance);
17 return g_instance;
22 DCHECK(!g_instance || !lookup);
23 g_instance = lookup;
/external/chromium_org/ui/gl/android/
H A Dsurface_texture_tracker.cc11 SurfaceTextureTracker* g_instance = NULL; member in namespace:gfx::__anon16920
16 DCHECK(g_instance);
17 return g_instance;
22 DCHECK(!g_instance);
23 g_instance = tracker;
/external/chromium_org/android_webview/native/
H A Daw_browser_dependency_factory.cc13 AwBrowserDependencyFactory* g_instance = NULL; member in namespace:android_webview::__anon1808
24 g_instance = delegate;
29 DCHECK(g_instance); // Must always be confirgured on startup.
30 return g_instance;
H A Djava_browser_view_renderer_helper.cc57 static JavaBrowserViewRendererHelper* g_instance = local
59 return g_instance;
/external/chromium_org/device/core/
H A Ddevice_client.cc13 DeviceClient* g_instance = NULL; member in namespace:device::__anon8008
18 DCHECK(!g_instance);
19 g_instance = this;
23 g_instance = NULL;
28 DCHECK(g_instance);
29 return g_instance;
/external/chromium_org/content/renderer/android/
H A Dsynchronous_compositor_factory.cc14 SynchronousCompositorFactory* g_instance = NULL; member in namespace:content::__anon7693
20 DCHECK(g_instance == NULL);
25 g_instance = instance;
30 return g_instance;
/external/chromium_org/chrome/browser/ui/ash/multi_user/
H A Dmulti_user_window_manager.cc21 chrome::MultiUserWindowManager* g_instance = NULL; member in namespace:__anon4998
34 return g_instance;
38 DCHECK(!g_instance);
43 if (!g_instance &&
45 g_instance =
61 if (!g_instance)
62 g_instance = new MultiUserWindowManagerStub();
64 return g_instance;
88 DCHECK(g_instance);
89 delete g_instance;
[all...]
/external/chromium_org/chromecast/shell/browser/
H A Dcast_browser_process.cc17 CastBrowserProcess* g_instance = NULL; member in namespace:chromecast::shell::__anon6077
22 DCHECK(g_instance);
23 return g_instance;
27 DCHECK(!g_instance);
28 g_instance = this;
32 DCHECK_EQ(g_instance, this);
33 g_instance = NULL;
/external/chromium_org/chromecast/android/
H A Dchromecast_config_android.cc11 base::LazyInstance<ChromecastConfigAndroid> g_instance = member in namespace:chromecast::android::__anon6055
17 return g_instance.Pointer();
/external/chromium_org/media/audio/sounds/
H A Dsounds_manager.cc19 SoundsManager* g_instance = NULL; member in namespace:media::__anon8544
88 CHECK(!g_instance || g_initialized_for_testing)
92 g_instance = new SoundsManagerImpl();
97 CHECK(g_instance) << "SoundsManager::Shutdown() is called "
99 delete g_instance;
100 g_instance = NULL;
105 CHECK(g_instance) << "SoundsManager::Get() is called before Create()";
106 return g_instance;
111 CHECK(!g_instance) << "SoundsManager is already initialized.";
113 g_instance
[all...]
/external/chromium_org/ash/screensaver/
H A Dscreensaver_view.cc24 ash::ScreensaverView* g_instance = NULL; member in namespace:__anon1930
42 if (!g_instance) {
43 g_instance = new ScreensaverView(url);
44 g_instance->Show();
50 if (g_instance) {
51 g_instance->Close();
52 g_instance = NULL;
58 return g_instance && g_instance->IsScreensaverShowingURL(g_instance
[all...]
/external/chromium_org/content/shell/renderer/
H A Dshell_render_process_observer.cc27 ShellRenderProcessObserver* g_instance = NULL; member in namespace:content::__anon7876
32 return g_instance;
38 CHECK(!g_instance);
39 g_instance = this;
47 CHECK(g_instance == this);
48 g_instance = NULL;
/external/chromium_org/device/bluetooth/
H A Dbluetooth_socket_thread.cc13 base::LazyInstance<scoped_refptr<BluetoothSocketThread> > g_instance = member in namespace:device
18 if (!g_instance.Get().get()) {
19 g_instance.Get() = new BluetoothSocketThread();
21 return g_instance.Get();
26 DCHECK(g_instance.Get().get());
27 g_instance.Get() = NULL;
/external/chromium_org/chromecast/common/
H A Dcast_resource_delegate.cc15 CastResourceDelegate* g_instance = NULL; member in namespace:chromecast::__anon6057
21 DCHECK(g_instance);
22 return g_instance;
26 DCHECK(!g_instance) << "Cannot initialize resource bundle delegate twice.";
27 g_instance = this;
31 DCHECK_EQ(g_instance, this);
32 g_instance = NULL;
/external/chromium_org/extensions/browser/api/
H A Dextensions_api_client.cc15 ExtensionsAPIClient* g_instance = NULL; member in namespace:extensions::__anon8096
18 ExtensionsAPIClient::ExtensionsAPIClient() { g_instance = this; }
20 ExtensionsAPIClient::~ExtensionsAPIClient() { g_instance = NULL; }
23 ExtensionsAPIClient* ExtensionsAPIClient::Get() { return g_instance; }
/external/chromium_org/chrome/browser/chromeos/ui/
H A Didle_logout_dialog_view.cc28 chromeos::IdleLogoutDialogView* g_instance = NULL; member in namespace:__anon3489
65 // CloseDialog, we reset g_instance so the next Show will work correctly; in
67 // called, in which case we reset g_instance there if not already reset.
68 if (!g_instance) {
69 g_instance = new IdleLogoutDialogView();
70 g_instance->InitAndShow();
76 if (g_instance)
77 g_instance->GetWidget()->Close();
100 g_instance = NULL;
115 if (this == g_instance)
[all...]
/external/chromium_org/chrome/browser/ui/
H A Duma_browsing_activity_observer.cc26 UMABrowsingActivityObserver* g_instance = NULL; member in namespace:chrome::__anon5190
32 DCHECK(!g_instance);
35 g_instance = new UMABrowsingActivityObserver;
79 delete g_instance;
80 g_instance = NULL;
/external/chromium_org/chrome/browser/chromeos/first_run/
H A Dfirst_run_controller.cc27 chromeos::FirstRunController* g_instance; member in namespace:__anon3228
45 if (g_instance) {
49 g_instance = new FirstRunController();
50 g_instance->Init();
57 if (!g_instance) {
61 g_instance->Finalize();
62 base::MessageLoop::current()->DeleteSoon(FROM_HERE, g_instance);
63 g_instance = NULL;
68 return g_instance;
/external/chromium_org/gpu/command_buffer/service/
H A Dmailbox_synchronizer.cc22 MailboxSynchronizer* g_instance = NULL; member in namespace:gpu::gles2::__anon8428
28 DCHECK(!g_instance);
52 g_instance = new MailboxSynchronizer;
58 DCHECK(g_instance);
59 delete g_instance;
60 g_instance = NULL;
65 return g_instance;
/external/chromium_org/remoting/base/
H A Dbreakpad_win.cc95 static base::LazyInstance<BreakpadWin>::Leaky g_instance = member in namespace:__anon10353
141 return &g_instance.Get();
/external/chromium_org/native_client_sdk/src/examples/demo/nacl_io_demo/
H A Dnacl_io_demo.c59 static PP_Instance g_instance = 0; variable
200 g_ppb_messaging->PostMessage(g_instance, var);
292 g_ppb_messaging->PostMessage(g_instance, result_var);
371 g_instance = instance;
/external/chromium_org/ui/aura/
H A Dremote_window_tree_host_win.cc86 RemoteWindowTreeHostWin* g_instance = NULL;
90 return g_instance;
99 CHECK(!g_instance);
100 g_instance = this;
108 DCHECK_EQ(g_instance, this);
109 g_instance = NULL;

Completed in 778 milliseconds