diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 03:25:15 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 03:25:15 +0000 |
commit | 176aa48371da91eb98d675d87b4e70c7b26d696f (patch) | |
tree | 4c972de6ecd5a54650ab1dc7d421187f5d25834f /chrome/renderer/visitedlink_slave.h | |
parent | 9a3f0ac2899139ace97e399015259d028b4d5704 (diff) | |
download | chromium_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/renderer/visitedlink_slave.h')
-rw-r--r-- | chrome/renderer/visitedlink_slave.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/renderer/visitedlink_slave.h b/chrome/renderer/visitedlink_slave.h index ff5ff64..39752fd0 100644 --- a/chrome/renderer/visitedlink_slave.h +++ b/chrome/renderer/visitedlink_slave.h @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#ifndef CHROME_WIN_RENDERER_VISITEDLINK_SLAVE_H__ -#define CHROME_WIN_RENDERER_VISITEDLINK_SLAVE_H__ +#ifndef CHROME_RENDERER_VISITEDLINK_SLAVE_H_ +#define CHROME_RENDERER_VISITEDLINK_SLAVE_H_ #include "base/shared_memory.h" #include "chrome/common/visitedlink_common.h" @@ -20,15 +20,15 @@ class VisitedLinkSlave : public VisitedLinkCommon // It can also be called again at any time to update the table that we're // using. The handle should be the handle generated by the VisitedLinkMaster. // Returns true on success. - bool Init(SharedMemoryHandle shared_memory); + bool Init(base::SharedMemoryHandle shared_memory); private: void FreeTable(); // shared memory consists of a SharedHeader followed by the table - SharedMemory* shared_memory_; + base::SharedMemory* shared_memory_; - DISALLOW_EVIL_CONSTRUCTORS(VisitedLinkSlave); + DISALLOW_COPY_AND_ASSIGN(VisitedLinkSlave); }; -#endif // WIN_RENDERER_VISITEDLINK_SLAVE_H__ +#endif // CHROME_RENDERER_VISITEDLINK_SLAVE_H_ |