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

Unified Diff: components/visitedlink/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 | « components/visitedlink/renderer/DEPS ('k') | components/visitedlink/renderer/visitedlink_slave.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/visitedlink/renderer/visitedlink_slave.h
diff --git a/chrome/renderer/visitedlink_slave.h b/components/visitedlink/renderer/visitedlink_slave.h
similarity index 78%
rename from chrome/renderer/visitedlink_slave.h
rename to components/visitedlink/renderer/visitedlink_slave.h
index cdab03ccfc6eb82bef6e22dc6e3e1d4c5130dfad..ffcc2f6e9eeaa0e7cb548b0b97b436e52005273f 100644
--- a/chrome/renderer/visitedlink_slave.h
+++ b/components/visitedlink/renderer/visitedlink_slave.h
@@ -2,14 +2,16 @@
// 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_
+#ifndef COMPONENTS_VISITEDLINK_RENDERER_VISITEDLINK_SLAVE_H_
+#define COMPONENTS_VISITEDLINK_RENDERER_VISITEDLINK_SLAVE_H_
#include "base/compiler_specific.h"
#include "base/shared_memory.h"
-#include "chrome/common/visitedlink_common.h"
+#include "components/visitedlink/common/visitedlink_common.h"
#include "content/public/renderer/render_process_observer.h"
+namespace components {
+
// Reads the link coloring database provided by the master. There can be any
// number of slaves reading the same database.
class VisitedLinkSlave : public VisitedLinkCommon,
@@ -34,4 +36,6 @@ class VisitedLinkSlave : public VisitedLinkCommon,
DISALLOW_COPY_AND_ASSIGN(VisitedLinkSlave);
};
-#endif // CHROME_RENDERER_VISITEDLINK_SLAVE_H_
+} // namespace components
+
+#endif // COMPONENTS_VISITEDLINK_RENDERER_VISITEDLINK_SLAVE_H_
« no previous file with comments | « components/visitedlink/renderer/DEPS ('k') | components/visitedlink/renderer/visitedlink_slave.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698