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

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: Address comments & rebase 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
« no previous file with comments | « components/history/core/browser/BUILD.gn ('k') | components/history/core/browser/history_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
new file mode 100644
index 0000000000000000000000000000000000000000..6f1608be0edec83dec39f58ca085151702833403
--- /dev/null
+++ b/components/history/core/browser/history_service_observer.h
@@ -0,0 +1,30 @@
+// 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 "base/macros.h"
+#include "components/history/core/browser/history_types.h"
+
+class HistoryService;
+
+namespace history {
+
+class HistoryServiceObserver {
+ public:
+ HistoryServiceObserver() {}
+ virtual ~HistoryServiceObserver() {}
+
+ // Called on changes to the VisitDatabase.
+ virtual void OnAddVisit(HistoryService* history_service,
+ const BriefVisitInfo& info) {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(HistoryServiceObserver);
+};
+
+} // namespace history
+
+#endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_
« no previous file with comments | « components/history/core/browser/BUILD.gn ('k') | components/history/core/browser/history_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698