summaryrefslogtreecommitdiffstats
path: root/chrome/browser/render_process_host.h
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 03:25:15 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 03:25:15 +0000
commit176aa48371da91eb98d675d87b4e70c7b26d696f (patch)
tree4c972de6ecd5a54650ab1dc7d421187f5d25834f /chrome/browser/render_process_host.h
parent9a3f0ac2899139ace97e399015259d028b4d5704 (diff)
downloadchromium_src-176aa48371da91eb98d675d87b4e70c7b26d696f.zip
chromium_src-176aa48371da91eb98d675d87b4e70c7b26d696f.tar.gz
chromium_src-176aa48371da91eb98d675d87b4e70c7b26d696f.tar.bz2
Add Terminate() to the Process object, have RenderProcessHost use this to avoid some more Windows specific code.
Move Process and SharedMemory into the base namespace (most changes). Review URL: http://codereview.chromium.org/10895 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/render_process_host.h')
-rw-r--r--chrome/browser/render_process_host.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/render_process_host.h b/chrome/browser/render_process_host.h
index 262710f..597cc2b3 100644
--- a/chrome/browser/render_process_host.h
+++ b/chrome/browser/render_process_host.h
@@ -102,7 +102,7 @@ class RenderProcessHost : public IPC::Channel::Listener,
return channel_.get();
}
- const Process& process() const {
+ const base::Process& process() const {
return process_;
}
@@ -178,7 +178,7 @@ class RenderProcessHost : public IPC::Channel::Listener,
// to register/unregister visibility.
void WidgetRestored();
void WidgetHidden();
-
+
// Add a word in the spellchecker.
void AddWord(const std::wstring& word);
@@ -194,7 +194,7 @@ class RenderProcessHost : public IPC::Channel::Listener,
// 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 @@ class RenderProcessHost : public IPC::Channel::Listener,
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 @@ class RenderProcessHost : public IPC::Channel::Listener,
scoped_ptr<IPC::SyncChannel> channel_;
// Our renderer process.
- Process process_;
+ base::Process process_;
// Used to watch the renderer process handle.
base::ObjectWatcher watcher_;