OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ANDROID_ANDROID_PROVIDER_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_ANDROID_ANDROID_PROVIDER_BACKEND_H_ |
6 #define CHROME_BROWSER_HISTORY_ANDROID_ANDROID_PROVIDER_BACKEND_H_ | 6 #define CHROME_BROWSER_HISTORY_ANDROID_ANDROID_PROVIDER_BACKEND_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
11 | 11 |
12 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/supports_user_data.h" | 17 #include "base/supports_user_data.h" |
18 #include "components/history/core/browser/android/android_cache_database.h" | 18 #include "components/history/core/browser/android/android_cache_database.h" |
19 #include "components/history/core/browser/android/android_history_types.h" | 19 #include "components/history/core/browser/android/android_history_types.h" |
20 #include "components/history/core/browser/android/sql_handler.h" | 20 #include "components/history/core/browser/android/sql_handler.h" |
21 | 21 |
22 namespace history { | 22 namespace history { |
23 | 23 |
24 class AndroidProviderBackend; | 24 class AndroidProviderBackend; |
25 class AndroidURLsSQLHandler; | |
26 class HistoryBackend; | 25 class HistoryBackend; |
27 class HistoryBackendClient; | 26 class HistoryBackendClient; |
28 class HistoryBackendNotifier; | 27 class HistoryBackendNotifier; |
29 class HistoryDatabase; | 28 class HistoryDatabase; |
30 class ThumbnailDatabase; | 29 class ThumbnailDatabase; |
31 | 30 |
32 // This class provides the query/insert/update/remove methods to implement | 31 // This class provides the query/insert/update/remove methods to implement |
33 // android.provider.Browser.BookmarkColumns and | 32 // android.provider.Browser.BookmarkColumns and |
34 // android.provider.Browser.SearchColumns API. | 33 // android.provider.Browser.SearchColumns API. |
35 // | 34 // |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 bool initialized_; | 344 bool initialized_; |
346 | 345 |
347 HistoryBackendNotifier* notifier_; | 346 HistoryBackendNotifier* notifier_; |
348 | 347 |
349 DISALLOW_COPY_AND_ASSIGN(AndroidProviderBackend); | 348 DISALLOW_COPY_AND_ASSIGN(AndroidProviderBackend); |
350 }; | 349 }; |
351 | 350 |
352 } // namespace history | 351 } // namespace history |
353 | 352 |
354 #endif // CHROME_BROWSER_HISTORY_ANDROID_ANDROID_PROVIDER_BACKEND_H_ | 353 #endif // CHROME_BROWSER_HISTORY_ANDROID_ANDROID_PROVIDER_BACKEND_H_ |
OLD | NEW |