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

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

Issue 1692623006: PPAPI: Remove PPB_Font_Dev. (try 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove PPB_Font_Dev bits that snuck back in Created 4 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
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ppapi/thunk/interfaces_ppb_private.h » ('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/interface_list.h" 5 #include "ppapi/proxy/interface_list.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "base/hash.h" 9 #include "base/hash.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "ppapi/c/dev/ppb_audio_input_dev.h" 13 #include "ppapi/c/dev/ppb_audio_input_dev.h"
14 #include "ppapi/c/dev/ppb_buffer_dev.h" 14 #include "ppapi/c/dev/ppb_buffer_dev.h"
15 #include "ppapi/c/dev/ppb_char_set_dev.h" 15 #include "ppapi/c/dev/ppb_char_set_dev.h"
16 #include "ppapi/c/dev/ppb_crypto_dev.h" 16 #include "ppapi/c/dev/ppb_crypto_dev.h"
17 #include "ppapi/c/dev/ppb_cursor_control_dev.h" 17 #include "ppapi/c/dev/ppb_cursor_control_dev.h"
18 #include "ppapi/c/dev/ppb_device_ref_dev.h" 18 #include "ppapi/c/dev/ppb_device_ref_dev.h"
19 #include "ppapi/c/dev/ppb_font_dev.h"
20 #include "ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h" 19 #include "ppapi/c/dev/ppb_gles_chromium_texture_mapping_dev.h"
21 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" 20 #include "ppapi/c/dev/ppb_ime_input_event_dev.h"
22 #include "ppapi/c/dev/ppb_memory_dev.h" 21 #include "ppapi/c/dev/ppb_memory_dev.h"
23 #include "ppapi/c/dev/ppb_opengles2ext_dev.h" 22 #include "ppapi/c/dev/ppb_opengles2ext_dev.h"
24 #include "ppapi/c/dev/ppb_printing_dev.h" 23 #include "ppapi/c/dev/ppb_printing_dev.h"
25 #include "ppapi/c/dev/ppb_text_input_dev.h" 24 #include "ppapi/c/dev/ppb_text_input_dev.h"
26 #include "ppapi/c/dev/ppb_trace_event_dev.h" 25 #include "ppapi/c/dev/ppb_trace_event_dev.h"
27 #include "ppapi/c/dev/ppb_truetype_font_dev.h" 26 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
28 #include "ppapi/c/dev/ppb_url_util_dev.h" 27 #include "ppapi/c/dev/ppb_url_util_dev.h"
29 #include "ppapi/c/dev/ppb_var_deprecated.h" 28 #include "ppapi/c/dev/ppb_var_deprecated.h"
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 411
413 int InterfaceList::HashInterfaceName(const std::string& name) { 412 int InterfaceList::HashInterfaceName(const std::string& name) {
414 uint32_t data = base::Hash(name.c_str(), name.size()); 413 uint32_t data = base::Hash(name.c_str(), name.size());
415 // Strip off the signed bit because UMA doesn't support negative values, 414 // Strip off the signed bit because UMA doesn't support negative values,
416 // but takes a signed int as input. 415 // but takes a signed int as input.
417 return static_cast<int>(data & 0x7fffffff); 416 return static_cast<int>(data & 0x7fffffff);
418 } 417 }
419 418
420 } // namespace proxy 419 } // namespace proxy
421 } // namespace ppapi 420 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/ppapi_sources.gypi ('k') | ppapi/thunk/interfaces_ppb_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698