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

Unified Diff: third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h

Issue 2384073002: reflow comments in platform/audio (Closed)
Patch Set: comments (heh!) Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h
diff --git a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h
index 1ec9ecf69fae9146960a13f938705e6e898bdf66..3387fdb57e7aa2669037180374461f9682c58f1c 100644
--- a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h
+++ b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.h
@@ -40,12 +40,14 @@ namespace blink {
class WaitableEvent;
-// HRTFDatabaseLoader will asynchronously load the default HRTFDatabase in a new thread.
+// HRTFDatabaseLoader will asynchronously load the default HRTFDatabase in a new
+// thread.
class PLATFORM_EXPORT HRTFDatabaseLoader final
: public RefCounted<HRTFDatabaseLoader> {
public:
- // Lazily creates a HRTFDatabaseLoader (if not already created) for the given sample-rate
- // and starts loading asynchronously (when created the first time).
+ // Lazily creates a HRTFDatabaseLoader (if not already created) for the given
+ // sample-rate and starts loading asynchronously (when created the first
+ // time).
// Returns the HRTFDatabaseLoader.
// Must be called from the main thread.
static PassRefPtr<HRTFDatabaseLoader> createAndLoadAsynchronouslyIfNecessary(
@@ -58,7 +60,8 @@ class PLATFORM_EXPORT HRTFDatabaseLoader final
// must be called from the audio thread.
bool isLoaded() { return database(); }
- // waitForLoaderThreadCompletion() may be called more than once and is thread-safe.
+ // waitForLoaderThreadCompletion() may be called more than once and is
+ // thread-safe.
void waitForLoaderThreadCompletion();
// Returns the database or nullptr if the database doesn't yet exist. Must
@@ -71,7 +74,8 @@ class PLATFORM_EXPORT HRTFDatabaseLoader final
// Both constructor and destructor must be called from the main thread.
explicit HRTFDatabaseLoader(float sampleRate);
- // If it hasn't already been loaded, creates a new thread and initiates asynchronous loading of the default database.
+ // If it hasn't already been loaded, creates a new thread and initiates
+ // asynchronous loading of the default database.
// This must be called from the main thread.
void loadAsynchronously();
@@ -79,7 +83,8 @@ class PLATFORM_EXPORT HRTFDatabaseLoader final
void loadTask();
void cleanupTask(WaitableEvent*);
- // Holding a m_lock is required when accessing m_hrtfDatabase since we access it from multiple threads.
+ // Holding a m_lock is required when accessing m_hrtfDatabase since we access
+ // it from multiple threads.
Mutex m_lock;
std::unique_ptr<HRTFDatabase> m_hrtfDatabase;

Powered by Google App Engine
This is Rietveld 408576698