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

Unified Diff: chrome/browser/history/android/sqlite_cursor.h

Issue 15701011: Only wait for CancelAllRequests done if the post task succeeds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync again Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/history/android/sqlite_cursor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/android/sqlite_cursor.h
diff --git a/chrome/browser/history/android/sqlite_cursor.h b/chrome/browser/history/android/sqlite_cursor.h
index ebd6213b597f3d3791341c8df8e8070727190390..2da09f7e34ed853b464682753d436c9406716f9a 100644
--- a/chrome/browser/history/android/sqlite_cursor.h
+++ b/chrome/browser/history/android/sqlite_cursor.h
@@ -136,6 +136,10 @@ class SQLiteCursor {
virtual ~SQLiteCursor();
+ // Destory SQLiteCursor object on UI thread. All cleanup need finish in UI
+ // thread.
+ void DestroyOnUIThread();
+
// This method is for testing only.
void set_test_observer(TestObserver* test_observer) {
test_observer_ = test_observer;
@@ -155,9 +159,6 @@ class SQLiteCursor {
// The callback function of MoveTo().
void OnMoved(AndroidHistoryProviderService::Handle handle, int pos);
- // Used to cancel all request on the UI thread during shutdown.
- void CancelAllRequests(base::WaitableEvent* finished);
-
JavaColumnType GetColumnTypeInternal(int column);
// Runs the MoveStatement on UI thread.
« no previous file with comments | « no previous file | chrome/browser/history/android/sqlite_cursor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698