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

Unified Diff: chrome/common/process_watcher.h

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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/common/plugin_messages_internal.h ('k') | chrome/common/process_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/process_watcher.h
===================================================================
--- chrome/common/process_watcher.h (revision 5371)
+++ chrome/common/process_watcher.h (working copy)
@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_PROCESS_WATCHER_H__
-#define CHROME_COMMON_PROCESS_WATCHER_H__
+#ifndef CHROME_COMMON_PROCESS_WATCHER_H_
+#define CHROME_COMMON_PROCESS_WATCHER_H_
+#include "base/basictypes.h"
#include "base/process_util.h"
class ProcessWatcher {
@@ -22,14 +23,14 @@
// NOTE: The process handle must have been opened with the PROCESS_TERMINATE
// and SYNCHRONIZE permissions.
//
- static void EnsureProcessTerminated(ProcessHandle process_handle);
+ static void EnsureProcessTerminated(base::ProcessHandle process_handle);
private:
// Do not instantiate this class.
ProcessWatcher();
- DISALLOW_EVIL_CONSTRUCTORS(ProcessWatcher);
+ DISALLOW_COPY_AND_ASSIGN(ProcessWatcher);
};
-#endif // CHROME_COMMON_PROCESS_WATCHER_H__
+#endif // CHROME_COMMON_PROCESS_WATCHER_H_
« no previous file with comments | « chrome/common/plugin_messages_internal.h ('k') | chrome/common/process_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698