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

Unified Diff: components/sync_driver/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_driver/revisit/page_visit_observer.h
diff --git a/components/sync_driver/revisit/page_visit_observer.h b/components/sync_driver/revisit/page_visit_observer.h
deleted file mode 100644
index 8b364603c5e72d71f8cc37fb5844c6bd3f86ed0e..0000000000000000000000000000000000000000
--- a/components/sync_driver/revisit/page_visit_observer.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// 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_
-
-#include "url/gurl.h"
-
-namespace sync_driver {
-
-// An interface that allows observers to be notified when a page is visited.
-class PageVisitObserver {
- public:
- // This enum represents the most common ways to visit a new page/URL.
- enum TransitionType {
- kTransitionPage = 0,
- kTransitionOmniboxUrl = 1,
- kTransitionOmniboxDefaultSearch = 2,
- kTransitionOmniboxTemplateSearch = 3,
- kTransitionBookmark = 4,
- kTransitionCopyPaste = 5,
- kTransitionForwardBackward = 6,
- kTransitionRestore = 7,
- kTransitionUnknown = 8,
- kTransitionTypeLast = 9,
- };
-
- virtual ~PageVisitObserver() {}
- virtual void OnPageVisit(const GURL& url,
- const TransitionType transition) = 0;
-};
-
-} // namespace sync_driver
-
-#endif // COMPONENTS_SYNC_DRIVER_REVISIT_PAGE_VISIT_OBSERVERE_H_
« no previous file with comments | « components/sync_driver/revisit/page_equality.h ('k') | components/sync_driver/revisit/sessions_page_revisit_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698