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

Unified Diff: ppapi/shared_impl/ppb_audio_input_shared.h

Issue 8790004: Rename the shared impl files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years 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
« no previous file with comments | « ppapi/shared_impl/ppb_audio_config_shared.cc ('k') | ppapi/shared_impl/ppb_audio_input_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_audio_input_shared.h
diff --git a/ppapi/shared_impl/audio_input_impl.h b/ppapi/shared_impl/ppb_audio_input_shared.h
similarity index 89%
rename from ppapi/shared_impl/audio_input_impl.h
rename to ppapi/shared_impl/ppb_audio_input_shared.h
index e7604c33d36eedf478c3710bf6be9e7b01636895..5c5e88d65e4bd5db67c7d3e92edd96b57747ceff 100644
--- a/ppapi/shared_impl/audio_input_impl.h
+++ b/ppapi/shared_impl/ppb_audio_input_shared.h
@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PPAPI_SHARED_IMPL_AUDIO_INPUT_IMPL_H_
-#define PPAPI_SHARED_IMPL_AUDIO_INPUT_IMPL_H_
+#ifndef PPAPI_SHARED_IMPL_PPB_AUDIO_INPUT_SHARED_H_
+#define PPAPI_SHARED_IMPL_PPB_AUDIO_INPUT_SHARED_H_
+#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "base/shared_memory.h"
#include "base/sync_socket.h"
@@ -18,12 +19,12 @@ namespace ppapi {
// Implements the logic to map shared memory and run the audio thread signaled
// from the sync socket. Both the proxy and the renderer implementation use
// this code.
-class PPAPI_SHARED_EXPORT AudioInputImpl
+class PPAPI_SHARED_EXPORT PPB_AudioInput_Shared
: public thunk::PPB_AudioInput_API,
public base::DelegateSimpleThread::Delegate {
public:
- AudioInputImpl();
- virtual ~AudioInputImpl();
+ PPB_AudioInput_Shared();
+ virtual ~PPB_AudioInput_Shared();
bool capturing() const { return capturing_; }
@@ -81,8 +82,10 @@ class PPAPI_SHARED_EXPORT AudioInputImpl
// User data pointer passed verbatim to the callback function.
void* user_data_;
+
+ DISALLOW_COPY_AND_ASSIGN(PPB_AudioInput_Shared);
};
} // namespace ppapi
-#endif // PPAPI_SHARED_IMPL_AUDIO_INPUT_IMPL_H_
+#endif // PPAPI_SHARED_IMPL_PPB_AUDIO_INPUT_SHARED_H_
« no previous file with comments | « ppapi/shared_impl/ppb_audio_config_shared.cc ('k') | ppapi/shared_impl/ppb_audio_input_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698