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

Unified Diff: components/visitedlink/common/visitedlink_common.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/common/visitedlink_common.h
diff --git a/chrome/common/visitedlink_common.h b/components/visitedlink/common/visitedlink_common.h
similarity index 96%
rename from chrome/common/visitedlink_common.h
rename to components/visitedlink/common/visitedlink_common.h
index 546bd4fa3cbaeadaae5a07f014bf070fb929f9a3..396eb1a4af55acb5205b21f2142be906692186e3 100644
--- a/chrome/common/visitedlink_common.h
+++ b/components/visitedlink/common/visitedlink_common.h
@@ -2,15 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_COMMON_VISITEDLINK_COMMON_H__
-#define CHROME_COMMON_VISITEDLINK_COMMON_H__
+#ifndef COMPONENTS_COMMON_VISITEDLINK_COMMON_H__
+#define COMPONENTS_COMMON_VISITEDLINK_COMMON_H__
#include <vector>
#include "base/basictypes.h"
+
class GURL;
+namespace components {
+
// number of bytes in the salt
#define LINK_SALT_LENGTH 8
@@ -131,4 +134,6 @@ class VisitedLinkCommon {
DISALLOW_COPY_AND_ASSIGN(VisitedLinkCommon);
};
-#endif // CHROME_COMMON_VISITEDLINK_COMMON_H_
+} // namespace components
+
+#endif // COMPONENTS_COMMON_VISITEDLINK_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698