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

Unified Diff: components/visitedlink/browser/visitedlink_delegate.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_delegate.h
diff --git a/chrome/browser/visitedlink/visitedlink_delegate.h b/components/visitedlink/browser/visitedlink_delegate.h
similarity index 87%
rename from chrome/browser/visitedlink/visitedlink_delegate.h
rename to components/visitedlink/browser/visitedlink_delegate.h
index edfde3b2a9c265af2ddd941f96bad31010a2e574..700cff01aa6b8d8eb616b9ec1c227ec52c5a7ebf 100644
--- a/chrome/browser/visitedlink/visitedlink_delegate.h
+++ b/components/visitedlink/browser/visitedlink_delegate.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_DELEGATE_H_
-#define CHROME_BROWSER_VISITEDLINK_VISITEDLINK_DELEGATE_H_
+#ifndef COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_DELEGATE_H_
+#define COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_DELEGATE_H_
#include "base/memory/ref_counted.h"
@@ -13,6 +13,8 @@ namespace content {
class BrowserContext;
} // namespace content
+namespace components {
+
// Delegate class that clients of VisitedLinkMaster must implement.
class VisitedLinkDelegate {
public:
@@ -49,4 +51,6 @@ class VisitedLinkDelegate {
virtual ~VisitedLinkDelegate() {}
};
-#endif // CHROME_BROWSER_VISITEDLINK_VISITEDLINK_DELEGATE_H_
+} // namespace components
+
+#endif // COMPONENTS_VISITEDLINK_BROWSER_VISITEDLINK_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698