| 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_SQLITE_CURSOR_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_ANDROID_SQLITE_CURSOR_H_ |
| 6 #define CHROME_BROWSER_HISTORY_ANDROID_SQLITE_CURSOR_H_ | 6 #define CHROME_BROWSER_HISTORY_ANDROID_SQLITE_CURSOR_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/android/scoped_java_ref.h" | 11 #include "base/android/scoped_java_ref.h" |
| 12 #include "base/basictypes.h" | |
| 13 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
| 13 #include "base/macros.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
| 16 #include "base/synchronization/waitable_event.h" | 16 #include "base/synchronization/waitable_event.h" |
| 17 #include "base/task/cancelable_task_tracker.h" | 17 #include "base/task/cancelable_task_tracker.h" |
| 18 #include "chrome/browser/history/android/android_history_provider_service.h" | 18 #include "chrome/browser/history/android/android_history_provider_service.h" |
| 19 #include "components/favicon_base/favicon_callback.h" | 19 #include "components/favicon_base/favicon_callback.h" |
| 20 #include "components/history/core/browser/history_types.h" | 20 #include "components/history/core/browser/history_types.h" |
| 21 | 21 |
| 22 // This class is JNI implementation of | 22 // This class is JNI implementation of |
| 23 // org.chromium.chrome.database.SqliteCursor, it uses the AndroidStatement to | 23 // org.chromium.chrome.database.SqliteCursor, it uses the AndroidStatement to |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 196 |
| 197 // The favicon image. | 197 // The favicon image. |
| 198 favicon_base::FaviconRawBitmapResult favicon_bitmap_result_; | 198 favicon_base::FaviconRawBitmapResult favicon_bitmap_result_; |
| 199 | 199 |
| 200 TestObserver* test_observer_; | 200 TestObserver* test_observer_; |
| 201 | 201 |
| 202 DISALLOW_COPY_AND_ASSIGN(SQLiteCursor); | 202 DISALLOW_COPY_AND_ASSIGN(SQLiteCursor); |
| 203 }; | 203 }; |
| 204 | 204 |
| 205 #endif // CHROME_BROWSER_HISTORY_ANDROID_SQLITE_CURSOR_H_ | 205 #endif // CHROME_BROWSER_HISTORY_ANDROID_SQLITE_CURSOR_H_ |
| OLD | NEW |