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

Side by Side Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_font.h

Issue 10386080: Rename nacl::RefCounted to nacl::RefCountedThreadSafe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License bump Created 8 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_FONT_H_ 5 #ifndef NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_FONT_H_
6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_FONT_H_ 6 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_FONT_H_
7 7
8 #include "native_client/src/include/nacl_macros.h" 8 #include "native_client/src/include/nacl_macros.h"
9 #include "native_client/src/shared/ppapi_proxy/plugin_resource.h" 9 #include "native_client/src/shared/ppapi_proxy/plugin_resource.h"
10 #include "ppapi/c/dev/ppb_font_dev.h" 10 #include "ppapi/c/dev/ppb_font_dev.h"
11 11
12 namespace ppapi_proxy { 12 namespace ppapi_proxy {
13 13
14 // Implements the untrusted side of the PPB_Font_Dev interface. 14 // Implements the untrusted side of the PPB_Font_Dev interface.
15 class PluginFont : public PluginResource { 15 class PluginFont : public PluginResource {
16 public: 16 public:
17 PluginFont() {} 17 PluginFont() {}
18 virtual bool InitFromBrowserResource(PP_Resource resource) { return true; } 18 virtual bool InitFromBrowserResource(PP_Resource resource) { return true; }
19 19
20 static const PPB_Font_Dev* GetInterface(); 20 static const PPB_Font_Dev* GetInterface();
21 21
22 protected:
23 virtual ~PluginFont() {}
24
22 private: 25 private:
23 NACL_DISALLOW_COPY_AND_ASSIGN(PluginFont); 26 NACL_DISALLOW_COPY_AND_ASSIGN(PluginFont);
24 }; 27 };
25 28
26 } // namespace ppapi_proxy 29 } // namespace ppapi_proxy
27 30
28 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_FONT_H_ 31 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PLUGIN_PPB_FONT_H_
29 32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698