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

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

Issue 2041033003: clang-tidy WaitableEvent refactor (Android side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0_windows
Patch Set: Created 4 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
Index: chrome/browser/history/android/sqlite_cursor.cc
diff --git a/chrome/browser/history/android/sqlite_cursor.cc b/chrome/browser/history/android/sqlite_cursor.cc
index e60bebbfa96c5195f550b5f9e6c230c0837dff68..b7205205431c71255cba158ee34c1479748fc48e 100644
--- a/chrome/browser/history/android/sqlite_cursor.cc
+++ b/chrome/browser/history/android/sqlite_cursor.cc
@@ -162,13 +162,13 @@ SQLiteCursor::SQLiteCursor(const std::vector<std::string>& column_names,
history::AndroidStatement* statement,
AndroidHistoryProviderService* service)
: position_(-1),
- event_(false, false),
+ event_(base::WaitableEvent::ResetPolicy::AUTOMATIC,
+ base::WaitableEvent::InitialState::NOT_SIGNALED),
statement_(statement),
column_names_(column_names),
service_(service),
count_(-1),
- test_observer_(NULL) {
-}
+ test_observer_(NULL) {}
SQLiteCursor::~SQLiteCursor() {
}

Powered by Google App Engine
This is Rietveld 408576698