Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Unified Diff: base/message_pump_glib.h

Issue 99126: Mutual exclusion between gconf and the glib main loop. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/message_pump_glib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_pump_glib.h
===================================================================
--- base/message_pump_glib.h (revision 14449)
+++ base/message_pump_glib.h (working copy)
@@ -7,6 +7,7 @@
#include <glib.h>
+#include "base/lock.h"
#include "base/message_pump.h"
#include "base/time.h"
@@ -16,6 +17,10 @@
// OS_LINUX platforms using GLib.
class MessagePumpForUI : public MessagePump {
public:
+ // A lock for mutual exclusion with the glib main loop, used for
+ // gconf in ProxyConfigServiceLinux.
+ static Lock glib_main_loop_lock_;
+
MessagePumpForUI();
~MessagePumpForUI();
« no previous file with comments | « no previous file | base/message_pump_glib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698