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

Unified Diff: components/history/core/browser/history_service_observer.h

Issue 642623004: Rename VisitDatabaseObserver to HistoryServiceObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@373326
Patch Set: Created 6 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/history/core/browser/history_service_observer.h
diff --git a/components/history/core/browser/history_service_observer.h b/components/history/core/browser/history_service_observer.h
deleted file mode 100644
index 87c758824a80c58955da6c020f41dfc78902ddb3..0000000000000000000000000000000000000000
--- a/components/history/core/browser/history_service_observer.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2014 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_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_
-#define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_
-
-#include "components/history/core/browser/history_types.h"
-#include "ui/base/page_transition_types.h"
-
-namespace base {
-class Time;
-}
-
-namespace history {
-
-class HistoryServiceObserver {
- public:
- HistoryServiceObserver();
- virtual ~HistoryServiceObserver();
-
- // Called when user visits an URL.
- //
- // The |row| ID will be set to the value that is currently in effect in the
- // main history database. |redirects| is the list of redirects leading up to
- // the URL. If we have a redirect chain A -> B -> C and user is visiting C,
- // then |redirects[0]=B| and |redirects[1]=A|. If there are no redirects,
- // |redirects| is an empty vector.
- virtual void OnURLVisited(ui::PageTransition transition,
- const URLRow& row,
- const RedirectList& redirects,
- base::Time visit_time) = 0;
-};
-
-} // namespace history
-
-#endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698