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 COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_CACHE_DATABASE_H_ | 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_CACHE_DATABASE_H_ |
6 #define COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_CACHE_DATABASE_H_ | 6 #define COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_CACHE_DATABASE_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/macros.h" |
10 #include "base/time/time.h" | 11 #include "base/time/time.h" |
11 #include "components/history/core/browser/android/android_history_types.h" | 12 #include "components/history/core/browser/android/android_history_types.h" |
12 #include "sql/connection.h" | 13 #include "sql/connection.h" |
13 #include "sql/init_status.h" | 14 #include "sql/init_status.h" |
14 | 15 |
15 namespace history { | 16 namespace history { |
16 | 17 |
17 // This database is used to support Android ContentProvider APIs. | 18 // This database is used to support Android ContentProvider APIs. |
18 // It will be created only when it used, and deleted by HistoryBackend when | 19 // It will be created only when it used, and deleted by HistoryBackend when |
19 // history system shutdown. | 20 // history system shutdown. |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 bool DoAttach(); | 112 bool DoAttach(); |
112 | 113 |
113 base::FilePath db_name_; | 114 base::FilePath db_name_; |
114 | 115 |
115 DISALLOW_COPY_AND_ASSIGN(AndroidCacheDatabase); | 116 DISALLOW_COPY_AND_ASSIGN(AndroidCacheDatabase); |
116 }; | 117 }; |
117 | 118 |
118 } // namespace history | 119 } // namespace history |
119 | 120 |
120 #endif // COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_CACHE_DATABASE_H_ | 121 #endif // COMPONENTS_HISTORY_CORE_BROWSER_ANDROID_ANDROID_CACHE_DATABASE_H_ |
OLD | NEW |