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

Unified Diff: content/renderer/pepper/pepper_device_enumeration_host_helper.h

Issue 231883002: Refactor some ResourceMessageReply usages. (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: content/renderer/pepper/pepper_device_enumeration_host_helper.h
diff --git a/content/renderer/pepper/pepper_device_enumeration_host_helper.h b/content/renderer/pepper/pepper_device_enumeration_host_helper.h
index 4142dec758e3d6fa8ac97119727fa1ecd027ac8f..523c515e42a958db546cd4436c23cfb9a81cad3e 100644
--- a/content/renderer/pepper/pepper_device_enumeration_host_helper.h
+++ b/content/renderer/pepper/pepper_device_enumeration_host_helper.h
@@ -12,17 +12,17 @@
#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
#include "ppapi/c/dev/ppb_device_ref_dev.h"
+#include "ppapi/host/host_message_context.h"
#include "url/gurl.h"
namespace ppapi {
struct DeviceRefData;
namespace host {
-struct HostMessageContext;
-struct ReplyMessageContext;
class ResourceHost;
}
-}
+
+} // namespace ppapi
namespace IPC {
class Message;
@@ -102,7 +102,8 @@ class CONTENT_EXPORT PepperDeviceEnumerationHostHelper {
scoped_ptr<ScopedRequest> enumerate_;
scoped_ptr<ScopedRequest> monitor_;
- scoped_ptr<ppapi::host::ReplyMessageContext> enumerate_devices_context_;
+ ppapi::host::ReplyMessageContext enumerate_devices_context_;
+ bool enumerate_devices_pending_;
DISALLOW_COPY_AND_ASSIGN(PepperDeviceEnumerationHostHelper);
};

Powered by Google App Engine
This is Rietveld 408576698