| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/history/core/browser/history_client.h" | 5 #include "components/history/core/browser/history_client.h" |
| 6 | 6 |
| 7 namespace history { | 7 namespace history { |
| 8 | 8 |
| 9 HistoryClient::HistoryClient() { | 9 HistoryClient::HistoryClient() { |
| 10 } | 10 } |
| 11 | 11 |
| 12 void HistoryClient::BlockUntilBookmarksLoaded() { | 12 void HistoryClient::BlockUntilBookmarksLoaded() { |
| 13 } | 13 } |
| 14 | 14 |
| 15 bool HistoryClient::IsBookmarked(const GURL& url) { | 15 bool HistoryClient::IsBookmarked(const GURL& url) { |
| 16 return false; | 16 return false; |
| 17 } | 17 } |
| 18 | 18 |
| 19 void HistoryClient::GetBookmarks(std::vector<URLAndTitle>* bookmarks) { | 19 void HistoryClient::GetBookmarks(std::vector<URLAndTitle>* bookmarks) { |
| 20 } | 20 } |
| 21 | 21 |
| 22 bool HistoryClient::CanAddURL(const GURL& url) { |
| 23 return true; |
| 24 } |
| 25 |
| 22 void HistoryClient::NotifyProfileError(sql::InitStatus init_status) { | 26 void HistoryClient::NotifyProfileError(sql::InitStatus init_status) { |
| 23 } | 27 } |
| 24 | 28 |
| 25 bool HistoryClient::ShouldReportDatabaseError() { | 29 bool HistoryClient::ShouldReportDatabaseError() { |
| 26 return false; | 30 return false; |
| 27 } | 31 } |
| 28 | 32 |
| 29 void HistoryClient::OnHistoryBackendInitialized( | 33 void HistoryClient::OnHistoryBackendInitialized( |
| 30 HistoryBackend* history_backend, | 34 HistoryBackend* history_backend, |
| 31 HistoryDatabase* history_database, | 35 HistoryDatabase* history_database, |
| 32 ThumbnailDatabase* thumbnail_database, | 36 ThumbnailDatabase* thumbnail_database, |
| 33 const base::FilePath& history_dir) { | 37 const base::FilePath& history_dir) { |
| 34 } | 38 } |
| 35 | 39 |
| 36 void HistoryClient::OnHistoryBackendDestroyed( | 40 void HistoryClient::OnHistoryBackendDestroyed( |
| 37 HistoryBackend* history_backend, | 41 HistoryBackend* history_backend, |
| 38 const base::FilePath& history_dir) { | 42 const base::FilePath& history_dir) { |
| 39 } | 43 } |
| 40 | 44 |
| 41 } // namespace history | 45 } // namespace history |
| OLD | NEW |