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

Unified Diff: components/visitedlink/browser/visitedlink_master.h

Issue 11825011: Componentize visitedlinks to src/components/visitedlink (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: components/visitedlink/browser/visitedlink_master.h
diff --git a/chrome/browser/visitedlink/visitedlink_master.h b/components/visitedlink/browser/visitedlink_master.h
similarity index 98%
rename from chrome/browser/visitedlink/visitedlink_master.h
rename to components/visitedlink/browser/visitedlink_master.h
index f417d232909ada9b433f91bc5c47b0918822f380..decaf3bbfb4463f418bff6efba3b6d959409d1f4 100644
--- a/chrome/browser/visitedlink/visitedlink_master.h
+++ b/components/visitedlink/browser/visitedlink_master.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_BROWSER_VISITEDLINK_VISITEDLINK_MASTER_H_
-#define CHROME_BROWSER_VISITEDLINK_VISITEDLINK_MASTER_H_
+#ifndef COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_MASTER_H_
+#define COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_MASTER_H_
#if defined(OS_WIN)
#include <windows.h>
@@ -17,19 +17,23 @@
#include "base/gtest_prod_util.h"
#include "base/shared_memory.h"
#include "base/threading/sequenced_worker_pool.h"
-#include "chrome/common/visitedlink_common.h"
+#include "components/visitedlink/common/visitedlink_common.h"
#if defined(UNIT_TEST) || defined(PERF_TEST) || !defined(NDEBUG)
#include "base/logging.h"
#endif
class GURL;
+
+namespace components {
class VisitedLinkDelegate;
brettw 2013/01/18 21:58:47 Ditto
+}
namespace content {
class BrowserContext;
} // namespace content
+namespace components {
// Controls the link coloring database. The master controls all writing to the
// database as well as disk I/O. There should be only one master.
@@ -431,4 +435,6 @@ inline void VisitedLinkMaster::DebugValidate() {
}
#endif
-#endif // CHROME_BROWSER_VISITEDLINK_VISITEDLINK_MASTER_H_
+} // namespace components
+
+#endif // COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_MASTER_H_

Powered by Google App Engine
This is Rietveld 408576698