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

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: 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/common/OWNERS ('k') | components/visitedlink/common/visitedlink_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/visitedlink/common/visitedlink_common.h
diff --git a/chrome/common/visitedlink_common.h b/components/visitedlink/common/visitedlink_common.h
similarity index 95%
rename from chrome/common/visitedlink_common.h
rename to components/visitedlink/common/visitedlink_common.h
index 546bd4fa3cbaeadaae5a07f014bf070fb929f9a3..0443085f6942726a79686383bd335535510d6d5a 100644
--- a/chrome/common/visitedlink_common.h
+++ b/components/visitedlink/common/visitedlink_common.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_COMMON_VISITEDLINK_COMMON_H__
-#define CHROME_COMMON_VISITEDLINK_COMMON_H__
+#ifndef COMPONENTS_VISITEDLINK_COMMON_VISITEDLINK_COMMON_H_
+#define COMPONENTS_VISITEDLINK_COMMON_VISITEDLINK_COMMON_H_
#include <vector>
@@ -11,6 +11,8 @@
class GURL;
+namespace components {
+
// number of bytes in the salt
#define LINK_SALT_LENGTH 8
@@ -131,4 +133,6 @@ class VisitedLinkCommon {
DISALLOW_COPY_AND_ASSIGN(VisitedLinkCommon);
};
-#endif // CHROME_COMMON_VISITEDLINK_COMMON_H_
+} // namespace components
+
+#endif // COMPONENTS_VISITEDLINK_COMMON_VISITEDLINK_COMMON_H_
« no previous file with comments | « components/visitedlink/common/OWNERS ('k') | components/visitedlink/common/visitedlink_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698