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

Side by Side Diff: ppapi/proxy/flash_font_file_resource.cc

Issue 1428653002: PPAPI: Remove PPB_Font_Dev. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ppapi/proxy/interface_list.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ppapi/proxy/flash_font_file_resource.h" 5 #include "ppapi/proxy/flash_font_file_resource.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 8
9 #include "ppapi/c/dev/ppb_font_dev.h"
10 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
11 #include "ppapi/proxy/ppapi_messages.h" 10 #include "ppapi/proxy/ppapi_messages.h"
12 11
13 namespace ppapi { 12 namespace ppapi {
14 namespace proxy { 13 namespace proxy {
15 14
16 FlashFontFileResource::FlashFontFileResource( 15 FlashFontFileResource::FlashFontFileResource(
17 Connection connection, 16 Connection connection,
18 PP_Instance instance, 17 PP_Instance instance,
19 const PP_BrowserFont_Trusted_Description* description, 18 const PP_BrowserFont_Trusted_Description* description,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 const std::string* FlashFontFileResource::AddFontTable( 71 const std::string* FlashFontFileResource::AddFontTable(
73 uint32_t table, 72 uint32_t table,
74 const std::string& contents) { 73 const std::string& contents) {
75 FontTableMap::const_iterator it = 74 FontTableMap::const_iterator it =
76 font_tables_.set(table, make_scoped_ptr(new std::string(contents))); 75 font_tables_.set(table, make_scoped_ptr(new std::string(contents)));
77 return it->second; 76 return it->second;
78 } 77 }
79 78
80 } // namespace proxy 79 } // namespace proxy
81 } // namespace ppapi 80 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ppapi/proxy/interface_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698