Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1188)

Side by Side Diff: chrome/browser/history/android/sqlite_cursor.h

Issue 584013002: Componentize history_types.{cc,h} and android_history_types.{cc,h} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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" 12 #include "base/basictypes.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.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 "chrome/browser/history/history_types.h"
20 #include "components/favicon_base/favicon_callback.h" 19 #include "components/favicon_base/favicon_callback.h"
20 #include "components/history/core/browser/history_types.h"
21 21
22 class FaviconService; 22 class FaviconService;
23 23
24 // This class is JNI implementation of 24 // This class is JNI implementation of
25 // org.chromium.chrome.database.SqliteCursor, it uses the AndroidStatement to 25 // org.chromium.chrome.database.SqliteCursor, it uses the AndroidStatement to
26 // iterate among the result rows. This is not thread safe, all methods should 26 // iterate among the result rows. This is not thread safe, all methods should
27 // be called from the same non-UI thread which typical is the Java thread. 27 // be called from the same non-UI thread which typical is the Java thread.
28 // 28 //
29 // This class can not be in history namespace because the class name has to 29 // This class can not be in history namespace because the class name has to
30 // match to the generated sqlite_cursor_jni.h. 30 // match to the generated sqlite_cursor_jni.h.
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 // The favicon image. 189 // The favicon image.
190 favicon_base::FaviconRawBitmapResult favicon_bitmap_result_; 190 favicon_base::FaviconRawBitmapResult favicon_bitmap_result_;
191 191
192 TestObserver* test_observer_; 192 TestObserver* test_observer_;
193 193
194 DISALLOW_COPY_AND_ASSIGN(SQLiteCursor); 194 DISALLOW_COPY_AND_ASSIGN(SQLiteCursor);
195 }; 195 };
196 196
197 #endif // CHROME_BROWSER_HISTORY_ANDROID_SQLITE_CURSOR_H_ 197 #endif // CHROME_BROWSER_HISTORY_ANDROID_SQLITE_CURSOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/android/sql_handler.h ('k') | chrome/browser/history/android/sqlite_cursor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698