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

Unified Diff: chrome/browser/history/history.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 | « chrome/browser/history/DEPS ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history.h
diff --git a/chrome/browser/history/history.h b/chrome/browser/history/history.h
index e5df83012eaa1fa4ccd0947927d5e32bd99a6c3a..edf5a8f5f5b0f121478dd81e5cdd43e5c03ab8fe 100644
--- a/chrome/browser/history/history.h
+++ b/chrome/browser/history/history.h
@@ -25,9 +25,9 @@
#include "chrome/browser/history/history_types.h"
#include "chrome/browser/profiles/profile_keyed_service.h"
#include "chrome/browser/search_engines/template_url_id.h"
-#include "chrome/browser/visitedlink/visitedlink_delegate.h"
#include "chrome/common/cancelable_task_tracker.h"
#include "chrome/common/ref_counted_util.h"
+#include "components/visitedlink/browser/visitedlink_delegate.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/common/page_transition_types.h"
@@ -46,13 +46,16 @@ class HistoryURLProvider;
class PageUsageData;
class PageUsageRequest;
class Profile;
-class VisitedLinkMaster;
struct HistoryURLProviderParams;
namespace base {
class Thread;
}
+namespace components {
+class VisitedLinkMaster;
+} // namespace components
+
namespace history {
@@ -110,7 +113,7 @@ class HistoryService : public CancelableRequestProvider,
public content::NotificationObserver,
public syncer::SyncableService,
public ProfileKeyedService,
- public VisitedLinkDelegate {
+ public components::VisitedLinkDelegate {
public:
// Miscellaneous commonly-used types.
typedef std::vector<PageUsageData*> PageUsageDataList;
@@ -657,7 +660,7 @@ class HistoryService : public CancelableRequestProvider,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
- // Implementation of VisitedLinkDelegate.
+ // Implementation of components::VisitedLinkDelegate.
virtual bool AreEquivalentContexts(
content::BrowserContext* context1,
content::BrowserContext* context2) OVERRIDE;
@@ -1090,7 +1093,7 @@ class HistoryService : public CancelableRequestProvider,
// Used for propagating link highlighting data across renderers. May be null
// in tests.
- scoped_ptr<VisitedLinkMaster> visitedlink_master_;
+ scoped_ptr<components::VisitedLinkMaster> visitedlink_master_;
// Has the backend finished loading? The backend is loaded once Init has
// completed.
« no previous file with comments | « chrome/browser/history/DEPS ('k') | chrome/browser/history/history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698