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

Unified Diff: chrome/browser/render_process_host.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/browser/profile.cc ('k') | chrome/browser/render_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/render_process_host.h
===================================================================
--- chrome/browser/render_process_host.h (revision 5371)
+++ chrome/browser/render_process_host.h (working copy)
@@ -102,7 +102,7 @@
return channel_.get();
}
- const Process& process() const {
+ const base::Process& process() const {
return process_;
}
@@ -178,7 +178,7 @@
// to register/unregister visibility.
void WidgetRestored();
void WidgetHidden();
-
+
// Add a word in the spellchecker.
void AddWord(const std::wstring& word);
@@ -194,7 +194,7 @@
// Clipboard messages
void OnClipboardWriteHTML(const std::wstring& markup, const GURL& src_url);
void OnClipboardWriteBookmark(const std::wstring& title, const GURL& url);
- void OnClipboardWriteBitmap(SharedMemoryHandle bitmap, gfx::Size size);
+ void OnClipboardWriteBitmap(base::SharedMemoryHandle bitmap, gfx::Size size);
void OnClipboardIsFormatAvailable(unsigned int format, bool* result);
void OnClipboardReadText(std::wstring* result);
void OnClipboardReadAsciiText(std::string* result);
@@ -210,11 +210,11 @@
void InitGreasemonkeyScripts();
// Sends the renderer process a new set of Greasemonkey scripts.
- void SendGreasemonkeyScriptsUpdate(SharedMemory* shared_memory);
+ void SendGreasemonkeyScriptsUpdate(base::SharedMemory* shared_memory);
// Gets a handle to the renderer process, normalizing the case where we were
// started with --single-process.
- HANDLE GetRendererProcessHandle();
+ base::ProcessHandle GetRendererProcessHandle();
// Callers can reduce the RenderProcess' priority.
// Returns true if the priority is backgrounded; false otherwise.
@@ -237,7 +237,7 @@
scoped_ptr<IPC::SyncChannel> channel_;
// Our renderer process.
- Process process_;
+ base::Process process_;
// Used to watch the renderer process handle.
base::ObjectWatcher watcher_;
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698