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

Unified Diff: chrome_frame/registry_watcher.h

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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 | « chrome_frame/registry_list_preferences_holder.cc ('k') | chrome_frame/registry_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/registry_watcher.h
diff --git a/chrome_frame/registry_watcher.h b/chrome_frame/registry_watcher.h
deleted file mode 100644
index bb72e8278d2b73eb5759dfe0f9c8c3edf649a1ff..0000000000000000000000000000000000000000
--- a/chrome_frame/registry_watcher.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-//
-// A utility class that makes it easy to register for registry change
-// notifications.
-//
-
-#ifndef CHROME_FRAME_REGISTRY_WATCHER_H_
-#define CHROME_FRAME_REGISTRY_WATCHER_H_
-
-#include <windows.h>
-
-class RegistryWatcher {
- public:
- typedef void (*NotifyFunc)();
- RegistryWatcher(HKEY hive, const wchar_t* path, NotifyFunc callback);
- ~RegistryWatcher();
-
- bool StartWatching();
- void StopWatching();
-
- private:
- static void CALLBACK WaitCallback(void* param, BOOLEAN wait_fired);
-
- HKEY registry_key_;
-
- HANDLE wait_event_;
- HANDLE wait_handle_;
- bool stopping_;
-
- NotifyFunc callback_;
-};
-
-
-#endif // CHROME_FRAME_REGISTRY_WATCHER_H_
« no previous file with comments | « chrome_frame/registry_list_preferences_holder.cc ('k') | chrome_frame/registry_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698