| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef CHROME_BROWSER_HISTORY_CHROME_HISTORY_BACKEND_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_CHROME_HISTORY_BACKEND_CLIENT_H_ |
| 6 #define CHROME_BROWSER_HISTORY_CHROME_HISTORY_BACKEND_CLIENT_H_ | 6 #define CHROME_BROWSER_HISTORY_CHROME_HISTORY_BACKEND_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "build/build_config.h" |
| 9 #include "components/history/core/browser/history_backend_client.h" | 10 #include "components/history/core/browser/history_backend_client.h" |
| 10 | 11 |
| 11 namespace bookmarks { | 12 namespace bookmarks { |
| 12 class BookmarkModel; | 13 class BookmarkModel; |
| 13 } | 14 } |
| 14 | 15 |
| 15 // ChromeHistoryBackendClient implements history::HistoryBackendClient interface | 16 // ChromeHistoryBackendClient implements history::HistoryBackendClient interface |
| 16 // to provides access to embedder-specific features. | 17 // to provides access to embedder-specific features. |
| 17 class ChromeHistoryBackendClient : public history::HistoryBackendClient { | 18 class ChromeHistoryBackendClient : public history::HistoryBackendClient { |
| 18 public: | 19 public: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 35 | 36 |
| 36 private: | 37 private: |
| 37 // BookmarkModel instance providing access to bookmarks. May be null during | 38 // BookmarkModel instance providing access to bookmarks. May be null during |
| 38 // testing but must outlive ChromeHistoryBackendClient if non-null. | 39 // testing but must outlive ChromeHistoryBackendClient if non-null. |
| 39 bookmarks::BookmarkModel* bookmark_model_; | 40 bookmarks::BookmarkModel* bookmark_model_; |
| 40 | 41 |
| 41 DISALLOW_COPY_AND_ASSIGN(ChromeHistoryBackendClient); | 42 DISALLOW_COPY_AND_ASSIGN(ChromeHistoryBackendClient); |
| 42 }; | 43 }; |
| 43 | 44 |
| 44 #endif // CHROME_BROWSER_HISTORY_CHROME_HISTORY_BACKEND_CLIENT_H_ | 45 #endif // CHROME_BROWSER_HISTORY_CHROME_HISTORY_BACKEND_CLIENT_H_ |
| OLD | NEW |