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

Side by Side Diff: content/renderer/pepper/pepper_media_stream_track_host_base.h

Issue 225903006: PPAPI: Run clang_format.py on content/renderer/pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_STREAM_TRACK_HOST_BASE_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_STREAM_TRACK_HOST_BASE_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_STREAM_TRACK_HOST_BASE_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_STREAM_TRACK_HOST_BASE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "ppapi/host/resource_host.h" 10 #include "ppapi/host/resource_host.h"
(...skipping 26 matching lines...) Expand all
37 virtual int32_t OnResourceMessageReceived( 37 virtual int32_t OnResourceMessageReceived(
38 const IPC::Message& msg, 38 const IPC::Message& msg,
39 ppapi::host::HostMessageContext* context) OVERRIDE; 39 ppapi::host::HostMessageContext* context) OVERRIDE;
40 40
41 private: 41 private:
42 // Subclasses must implement this method to clean up when the track is closed. 42 // Subclasses must implement this method to clean up when the track is closed.
43 virtual void OnClose() = 0; 43 virtual void OnClose() = 0;
44 44
45 // Message handlers: 45 // Message handlers:
46 int32_t OnHostMsgEnqueueBuffer(ppapi::host::HostMessageContext* context, 46 int32_t OnHostMsgEnqueueBuffer(ppapi::host::HostMessageContext* context,
47 int32_t index); 47 int32_t index);
48 int32_t OnHostMsgClose(ppapi::host::HostMessageContext* context); 48 int32_t OnHostMsgClose(ppapi::host::HostMessageContext* context);
49 49
50 RendererPpapiHost* host_; 50 RendererPpapiHost* host_;
51 51
52 ppapi::MediaStreamBufferManager buffer_manager_; 52 ppapi::MediaStreamBufferManager buffer_manager_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(PepperMediaStreamTrackHostBase); 54 DISALLOW_COPY_AND_ASSIGN(PepperMediaStreamTrackHostBase);
55 }; 55 };
56 56
57 } // namespace content 57 } // namespace content
58 58
59 #endif // CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_STREAM_TRACK_HOST_BASE_H_ 59 #endif // CONTENT_RENDERER_PEPPER_PEPPER_MEDIA_STREAM_TRACK_HOST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698