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

Unified Diff: ppapi/shared_impl/ppb_audio_shared.h

Issue 240523002: Add test to make sure if PPB_Audio_Shared::StartThread() works. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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: ppapi/shared_impl/ppb_audio_shared.h
diff --git a/ppapi/shared_impl/ppb_audio_shared.h b/ppapi/shared_impl/ppb_audio_shared.h
index 6ba8cac2e669135d8593070dc8b5ab5f045be9b2..59913a0085078b901a0c1a7455b5815d26a99886 100644
--- a/ppapi/shared_impl/ppb_audio_shared.h
+++ b/ppapi/shared_impl/ppb_audio_shared.h
@@ -67,7 +67,7 @@ class PPAPI_SHARED_EXPORT PPB_Audio_Shared
// configures our object to stop generating callbacks. The actual stop
// playback request will be done in the derived classes and will be different
// from the proxy and the renderer.
- void SetStartPlaybackState();
+ bool SetStartPlaybackState();
void SetStopPlaybackState();
// Sets the shared memory and socket handles. This will automatically start
@@ -87,7 +87,7 @@ class PPAPI_SHARED_EXPORT PPB_Audio_Shared
private:
// Starts execution of the audio thread.
- void StartThread();
+ bool StartThread();
// Stop execution of the audio thread.
void StopThread();

Powered by Google App Engine
This is Rietveld 408576698