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

Unified Diff: ui/gfx/win/singleton_hwnd.h

Issue 480503002: [Win] Battery Status API: use SingletonHwnd for notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added thread checker Created 6 years, 4 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 | « content/browser/battery_status/battery_status_manager_win.cc ('k') | ui/gfx/win/singleton_hwnd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/win/singleton_hwnd.h
diff --git a/ui/gfx/win/singleton_hwnd.h b/ui/gfx/win/singleton_hwnd.h
index 50fb9fd9df9e0d36187cbcfdbb5cc385c6588641..bdc698d2f3b40586330bd93acb25e17e1915fbd6 100644
--- a/ui/gfx/win/singleton_hwnd.h
+++ b/ui/gfx/win/singleton_hwnd.h
@@ -11,6 +11,7 @@
#include "base/basictypes.h"
#include "base/callback_forward.h"
#include "base/observer_list.h"
+#include "base/threading/thread_checker.h"
#include "ui/gfx/win/window_impl.h"
template<typename T> struct DefaultSingletonTraits;
@@ -52,6 +53,7 @@ class GFX_EXPORT SingletonHwnd : public WindowImpl {
// List of registered observers.
ObserverList<Observer> observer_list_;
+ base::ThreadChecker thread_checker_;
DISALLOW_COPY_AND_ASSIGN(SingletonHwnd);
};
« no previous file with comments | « content/browser/battery_status/battery_status_manager_win.cc ('k') | ui/gfx/win/singleton_hwnd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698