1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // A utility class that makes it easy to register for registry change
9 #ifndef CHROME_FRAME_REGISTRY_WATCHER_H_
10 #define CHROME_FRAME_REGISTRY_WATCHER_H_
14 class RegistryWatcher
{
16 typedef void (*NotifyFunc
)();
17 RegistryWatcher(HKEY hive
, const wchar_t* path
, NotifyFunc callback
);
24 static void CALLBACK
WaitCallback(void* param
, BOOLEAN wait_fired
);
36 #endif // CHROME_FRAME_REGISTRY_WATCHER_H_