summaryrefslogtreecommitdiffstats
path: root/chrome/browser/visitedlink_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/visitedlink_unittest.cc')
-rw-r--r--chrome/browser/visitedlink_unittest.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/visitedlink_unittest.cc b/chrome/browser/visitedlink_unittest.cc
index 7f082b7..86c2a24 100644
--- a/chrome/browser/visitedlink_unittest.cc
+++ b/chrome/browser/visitedlink_unittest.cc
@@ -33,11 +33,11 @@ VisitedLinkMaster* g_master = NULL;
std::vector<VisitedLinkSlave*> g_slaves;
VisitedLinkMaster::PostNewTableEvent SynchronousBroadcastNewTableEvent;
-void SynchronousBroadcastNewTableEvent(SharedMemory* table) {
+void SynchronousBroadcastNewTableEvent(base::SharedMemory* table) {
if (table) {
for (std::vector<VisitedLinkSlave>::size_type i = 0;
i < (int)g_slaves.size(); i++) {
- SharedMemoryHandle new_handle = NULL;
+ base::SharedMemoryHandle new_handle = NULL;
table->ShareToProcess(GetCurrentProcess(), &new_handle);
g_slaves[i]->Init(new_handle);
}
@@ -102,7 +102,7 @@ class VisitedLinkTest : public testing::Test {
// Create a slave database.
VisitedLinkSlave slave;
- SharedMemoryHandle new_handle = NULL;
+ base::SharedMemoryHandle new_handle = NULL;
master_->ShareToProcess(GetCurrentProcess(), &new_handle);
bool success = slave.Init(new_handle);
ASSERT_TRUE(success);
@@ -239,7 +239,7 @@ TEST_F(VisitedLinkTest, DeleteAll) {
{
VisitedLinkSlave slave;
- SharedMemoryHandle new_handle = NULL;
+ base::SharedMemoryHandle new_handle = NULL;
master_->ShareToProcess(GetCurrentProcess(), &new_handle);
ASSERT_TRUE(slave.Init(new_handle));
g_slaves.push_back(&slave);
@@ -287,7 +287,7 @@ TEST_F(VisitedLinkTest, Resizing) {
// ...and a slave
VisitedLinkSlave slave;
- SharedMemoryHandle new_handle = NULL;
+ base::SharedMemoryHandle new_handle = NULL;
master_->ShareToProcess(GetCurrentProcess(), &new_handle);
bool success = slave.Init(new_handle);
ASSERT_TRUE(success);