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

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: 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 fd5295fb0c86dc63736f1d9a9b2ebe17f2bbc08f..e44f091a69196067e51f6d6062cb7c893d03cb42 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_BROWSER_VISITEDLINK_VISITEDLINK_DELEGATE_H_
+#define COMPONENTS_BROWSER_VISITEDLINK_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_BROWSER_VISITEDLINK_VISITEDLINK_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698