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

Side by Side Diff: ppapi/thunk/ppb_flash_drm_api.h

Issue 238923007: PPAPI: Format ppapi/thunk using clang-format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use Popen instead, force carriage returns in thunks 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "base/memory/ref_counted.h" 5 #include "base/memory/ref_counted.h"
6 #include "ppapi/thunk/ppapi_thunk_export.h" 6 #include "ppapi/thunk/ppapi_thunk_export.h"
7 7
8 namespace ppapi { 8 namespace ppapi {
9 9
10 class TrackedCallback; 10 class TrackedCallback;
11 11
12 namespace thunk { 12 namespace thunk {
13 13
14 class PPAPI_THUNK_EXPORT PPB_Flash_DRM_API { 14 class PPAPI_THUNK_EXPORT PPB_Flash_DRM_API {
15 public: 15 public:
16 virtual ~PPB_Flash_DRM_API() {} 16 virtual ~PPB_Flash_DRM_API() {}
17 17
18 virtual int32_t GetDeviceID(PP_Var* id, 18 virtual int32_t GetDeviceID(PP_Var* id,
19 scoped_refptr<TrackedCallback> callback) = 0; 19 scoped_refptr<TrackedCallback> callback) = 0;
20 virtual PP_Bool GetHmonitor(int64_t* hmonitor) = 0; 20 virtual PP_Bool GetHmonitor(int64_t* hmonitor) = 0;
21 virtual int32_t GetVoucherFile(PP_Resource* file_ref, 21 virtual int32_t GetVoucherFile(PP_Resource* file_ref,
22 scoped_refptr<TrackedCallback> callback) = 0; 22 scoped_refptr<TrackedCallback> callback) = 0;
23 virtual int32_t MonitorIsExternal( 23 virtual int32_t MonitorIsExternal(
24 PP_Bool* is_external, 24 PP_Bool* is_external,
25 scoped_refptr<TrackedCallback> callback) = 0; 25 scoped_refptr<TrackedCallback> callback) = 0;
26 }; 26 };
27 27
28 } // namespace thunk 28 } // namespace thunk
29 } // namespace ppapi 29 } // namespace ppapi
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698