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

Side by Side Diff: chrome/browser/history/url_database_observer.h

Issue 22569006: tmp Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/history/url_database.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_HISTORY_URL_DATABASE_OBSERVER_H_
6 #define CHROME_BROWSER_HISTORY_URL_DATABASE_OBSERVER_H_
7
8 namespace history {
9
10 class URLRow;
11
12 // Observer for the URLDatabase.
13 class URLDatabaseObserver {
14 public:
15 URLDatabaseObserver() {};
16
17 // Invoked when url was added to database.
18 virtual void URLAdded(const URLRow& added) = 0;
19
20 // Invoked when url was removed from database.
21 virtual void URLDeleted(const URLRow& removed) = 0;
22
23 // Invoked when url was changed in database.
24 virtual void URLChanged(const URLRow& old,
25 const URLRow& current) = 0;
26
27 protected:
28 virtual ~URLDatabaseObserver() {}
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(URLDatabaseObserver);
32 };
33
34 } // history
35
36 #endif // CHROME_BROWSER_HISTORY_URL_DATABASE_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/url_database.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698