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

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

Issue 10958031: Move cancelable_request.cc/h to chrome/browser/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
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/string16.h" 15 #include "base/string16.h"
16 #include "base/synchronization/waitable_event.h" 16 #include "base/synchronization/waitable_event.h"
17 #include "chrome/browser/cancelable_request.h" 17 #include "chrome/browser/common/cancelable_request.h"
18 #include "chrome/browser/favicon/favicon_service.h" 18 #include "chrome/browser/favicon/favicon_service.h"
19 #include "chrome/browser/history/android/android_history_provider_service.h" 19 #include "chrome/browser/history/android/android_history_provider_service.h"
20 #include "chrome/browser/history/history_types.h" 20 #include "chrome/browser/history/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
24 // iterate among the result rows. This is not thread safe, all methods should 24 // iterate among the result rows. This is not thread safe, all methods should
25 // be called from the same non-UI thread which typical is the Java thread. 25 // be called from the same non-UI thread which typical is the Java thread.
26 // 26 //
27 // This class can not be in history namespace because the class name has to 27 // This class can not be in history namespace because the class name has to
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 // The favicon image. 188 // The favicon image.
189 history::FaviconBitmapResult favicon_bitmap_result_; 189 history::FaviconBitmapResult favicon_bitmap_result_;
190 190
191 TestObserver* test_observer_; 191 TestObserver* test_observer_;
192 192
193 DISALLOW_COPY_AND_ASSIGN(SQLiteCursor); 193 DISALLOW_COPY_AND_ASSIGN(SQLiteCursor);
194 }; 194 };
195 195
196 #endif // CHROME_BROWSER_HISTORY_ANDROID_SQLITE_CURSOR_H_ 196 #endif // CHROME_BROWSER_HISTORY_ANDROID_SQLITE_CURSOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/android/android_history_provider_service.h ('k') | chrome/browser/history/history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698