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

Unified Diff: components/sync_sessions/revisit/page_visit_observer.h

Issue 1387253004: [Sync] Creating sync_sessions component, moving revisit logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing test_support target. Created 5 years, 2 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/sync_sessions/revisit/page_visit_observer.h
diff --git a/components/sync_driver/revisit/page_visit_observer.h b/components/sync_sessions/revisit/page_visit_observer.h
similarity index 73%
rename from components/sync_driver/revisit/page_visit_observer.h
rename to components/sync_sessions/revisit/page_visit_observer.h
index 8b364603c5e72d71f8cc37fb5844c6bd3f86ed0e..701f9a32cff041748e25ccd2adb74f20059e3d81 100644
--- a/components/sync_driver/revisit/page_visit_observer.h
+++ b/components/sync_sessions/revisit/page_visit_observer.h
@@ -2,12 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SYNC_DRIVER_REVISIT_PAGE_VISIT_OBSERVERE_H_
-#define COMPONENTS_SYNC_DRIVER_REVISIT_PAGE_VISIT_OBSERVERE_H_
+#ifndef COMPONENTS_SYNC_SESSIONS_REVISIT_PAGE_VISIT_OBSERVER_H_
+#define COMPONENTS_SYNC_SESSIONS_REVISIT_PAGE_VISIT_OBSERVER_H_
-#include "url/gurl.h"
+#include <string>
-namespace sync_driver {
+#include "base/time/time.h"
+
+class GURL;
+
+namespace sync_sessions {
// An interface that allows observers to be notified when a page is visited.
class PageVisitObserver {
@@ -31,6 +35,6 @@ class PageVisitObserver {
const TransitionType transition) = 0;
};
-} // namespace sync_driver
+} // namespace sync_sessions
-#endif // COMPONENTS_SYNC_DRIVER_REVISIT_PAGE_VISIT_OBSERVERE_H_
+#endif // COMPONENTS_SYNC_SESSIONS_REVISIT_PAGE_VISIT_OBSERVER_H_
« no previous file with comments | « components/sync_sessions/revisit/page_equality.h ('k') | components/sync_sessions/revisit/sessions_page_revisit_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698