OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_WEBDATA_COMMON_WEB_DATABASE_BACKEND_H_ | 5 #ifndef COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_BACKEND_H_ |
6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_BACKEND_H_ | 6 #define COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_BACKEND_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/ref_counted_delete_on_message_loop.h" | 13 #include "base/memory/ref_counted_delete_on_message_loop.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
17 #include "components/webdata/common/web_database_service.h" | 17 #include "components/webdata/common/web_database_service.h" |
18 #include "components/webdata/common/webdata_export.h" | 18 #include "components/webdata/common/webdata_export.h" |
19 | 19 |
20 class WebDatabase; | 20 class WebDatabase; |
21 class WebDatabaseTable; | 21 class WebDatabaseTable; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // fails), used to avoid continually trying to reinit if the db init fails. | 118 // fails), used to avoid continually trying to reinit if the db init fails. |
119 bool init_complete_; | 119 bool init_complete_; |
120 | 120 |
121 // Delegate. See the class definition above for more information. | 121 // Delegate. See the class definition above for more information. |
122 scoped_ptr<Delegate> delegate_; | 122 scoped_ptr<Delegate> delegate_; |
123 | 123 |
124 DISALLOW_COPY_AND_ASSIGN(WebDatabaseBackend); | 124 DISALLOW_COPY_AND_ASSIGN(WebDatabaseBackend); |
125 }; | 125 }; |
126 | 126 |
127 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_BACKEND_H_ | 127 #endif // COMPONENTS_WEBDATA_COMMON_WEB_DATABASE_BACKEND_H_ |
OLD | NEW |