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

Unified Diff: chrome/renderer/visitedlink_slave.h

Issue 11825011: Componentize visitedlinks to src/components/visitedlink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final rebase Created 7 years, 11 months 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/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/visitedlink_slave.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/visitedlink_slave.h
diff --git a/chrome/renderer/visitedlink_slave.h b/chrome/renderer/visitedlink_slave.h
deleted file mode 100644
index cdab03ccfc6eb82bef6e22dc6e3e1d4c5130dfad..0000000000000000000000000000000000000000
--- a/chrome/renderer/visitedlink_slave.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_RENDERER_VISITEDLINK_SLAVE_H_
-#define CHROME_RENDERER_VISITEDLINK_SLAVE_H_
-
-#include "base/compiler_specific.h"
-#include "base/shared_memory.h"
-#include "chrome/common/visitedlink_common.h"
-#include "content/public/renderer/render_process_observer.h"
-
-// Reads the link coloring database provided by the master. There can be any
-// number of slaves reading the same database.
-class VisitedLinkSlave : public VisitedLinkCommon,
- public content::RenderProcessObserver {
- public:
- VisitedLinkSlave();
- virtual ~VisitedLinkSlave();
-
- // RenderProcessObserver implementation.
- virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE;
-
- // Message handlers.
- void OnUpdateVisitedLinks(base::SharedMemoryHandle table);
- void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints);
- void OnResetVisitedLinks();
- private:
- void FreeTable();
-
- // shared memory consists of a SharedHeader followed by the table
- base::SharedMemory* shared_memory_;
-
- DISALLOW_COPY_AND_ASSIGN(VisitedLinkSlave);
-};
-
-#endif // CHROME_RENDERER_VISITEDLINK_SLAVE_H_
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | chrome/renderer/visitedlink_slave.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698