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

Side by Side Diff: chrome/browser/history/history_database_delegate.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
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_HISTORY_DATABASE_DELEGATE_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_DATABASE_DELEGATE_H_
7
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
10
11 namespace base {
12 class FilePath;
13 }
14
15 namespace history {
16
17 class HistoryDatabase;
18
19 // Delegate for the HistoryDatabase.
20 class HistoryDatabaseDelegate {
21 public:
22 HistoryDatabaseDelegate() {};
23
24 // Invoked when database is created.
25 virtual void Created(HistoryDatabase* db, const base::FilePath& file) = 0;
26
27 // Factory method for HistoryDatabaseDelegate.
28 static scoped_ptr<HistoryDatabaseDelegate> CreateHistoryDatabaseDelegate();
29
30 virtual ~HistoryDatabaseDelegate() {}
31
32 private:
33 DISALLOW_COPY_AND_ASSIGN(HistoryDatabaseDelegate);
34 };
35
36 } //history
37
38 #endif // CHROME_BROWSER_HISTORY_HISTORY_DATABASE_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/history_database.cc ('k') | chrome/browser/history/history_database_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698