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

Unified Diff: net/disk_cache/blockfile/in_flight_io.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: net/disk_cache/blockfile/in_flight_io.h
diff --git a/net/disk_cache/blockfile/in_flight_io.h b/net/disk_cache/blockfile/in_flight_io.h
index 78b6f4d444f47745bcc481bc4e5c4591e3e68eed..05afe567e037d2c59e177585120313f7de542b77 100644
--- a/net/disk_cache/blockfile/in_flight_io.h
+++ b/net/disk_cache/blockfile/in_flight_io.h
@@ -41,9 +41,7 @@ class BackgroundIO : public base::RefCountedThreadSafe<BackgroundIO> {
int result() { return result_; }
- base::WaitableEvent* io_completed() {
- return &io_completed_;
- }
+ base::WaitableEvent* io_completed() { return &io_completed_; }
protected:
virtual ~BackgroundIO();
@@ -59,7 +57,7 @@ class BackgroundIO : public base::RefCountedThreadSafe<BackgroundIO> {
// An event to signal when the operation completes.
base::WaitableEvent io_completed_;
- InFlightIO* controller_; // The controller that tracks all operations.
+ InFlightIO* controller_; // The controller that tracks all operations.
base::Lock controller_lock_; // A lock protecting clearing of controller_.
DISALLOW_COPY_AND_ASSIGN(BackgroundIO);
@@ -125,7 +123,7 @@ class InFlightIO {
IOList io_list_; // List of pending, in-flight io operations.
scoped_refptr<base::MessageLoopProxy> callback_thread_;
- bool running_; // True after the first posted operation completes.
+ bool running_; // True after the first posted operation completes.
bool single_thread_; // True if we only have one thread.
DISALLOW_COPY_AND_ASSIGN(InFlightIO);

Powered by Google App Engine
This is Rietveld 408576698