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

Side by Side Diff: components/history/core/browser/history_client.cc

Issue 1198373002: Split HistoryClient in two objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1192403002
Patch Set: Add comments in ChromeHistoryBackendClient Created 5 years, 6 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 2014 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 #include "components/history/core/browser/history_client.h"
6
7 namespace history {
8
9 HistoryClient::HistoryClient() {
10 }
11
12 HistoryClient::~HistoryClient() {
13 }
14
15 void HistoryClient::Shutdown() {
16 }
17
18 void HistoryClient::BlockUntilBookmarksLoaded() {
19 }
20
21 bool HistoryClient::IsBookmarked(const GURL& url) {
22 return false;
23 }
24
25 void HistoryClient::GetBookmarks(std::vector<URLAndTitle>* bookmarks) {
26 }
27
28 bool HistoryClient::CanAddURL(const GURL& url) {
29 return true;
30 }
31
32 void HistoryClient::NotifyProfileError(sql::InitStatus init_status) {
33 }
34
35 bool HistoryClient::ShouldReportDatabaseError() {
36 return false;
37 }
38
39 void HistoryClient::OnHistoryBackendInitialized(
40 HistoryBackend* history_backend,
41 HistoryDatabase* history_database,
42 ThumbnailDatabase* thumbnail_database,
43 const base::FilePath& history_dir) {
44 }
45
46 void HistoryClient::OnHistoryBackendDestroyed(
47 HistoryBackend* history_backend,
48 const base::FilePath& history_dir) {
49 }
50
51 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/browser/history_client.h ('k') | components/history/core/browser/history_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698