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

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

Issue 270213004: Implement Pepper PPB_VideoDecoder interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable some unit tests on Win 64 bit builds. Created 6 years, 6 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
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/proxy/ppapi_messages.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 "base/hash.h" 7 #include "base/hash.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "ppapi/c/dev/ppb_alarms_dev.h" 10 #include "ppapi/c/dev/ppb_alarms_dev.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #include "ppapi/c/ppb_tcp_socket.h" 58 #include "ppapi/c/ppb_tcp_socket.h"
59 #include "ppapi/c/ppb_text_input_controller.h" 59 #include "ppapi/c/ppb_text_input_controller.h"
60 #include "ppapi/c/ppb_udp_socket.h" 60 #include "ppapi/c/ppb_udp_socket.h"
61 #include "ppapi/c/ppb_url_loader.h" 61 #include "ppapi/c/ppb_url_loader.h"
62 #include "ppapi/c/ppb_url_request_info.h" 62 #include "ppapi/c/ppb_url_request_info.h"
63 #include "ppapi/c/ppb_url_response_info.h" 63 #include "ppapi/c/ppb_url_response_info.h"
64 #include "ppapi/c/ppb_var.h" 64 #include "ppapi/c/ppb_var.h"
65 #include "ppapi/c/ppb_var_array.h" 65 #include "ppapi/c/ppb_var_array.h"
66 #include "ppapi/c/ppb_var_array_buffer.h" 66 #include "ppapi/c/ppb_var_array_buffer.h"
67 #include "ppapi/c/ppb_var_dictionary.h" 67 #include "ppapi/c/ppb_var_dictionary.h"
68 #include "ppapi/c/ppb_video_decoder.h"
68 #include "ppapi/c/ppb_video_frame.h" 69 #include "ppapi/c/ppb_video_frame.h"
69 #include "ppapi/c/ppb_view.h" 70 #include "ppapi/c/ppb_view.h"
70 #include "ppapi/c/pp_errors.h" 71 #include "ppapi/c/pp_errors.h"
71 #include "ppapi/c/ppp_instance.h" 72 #include "ppapi/c/ppp_instance.h"
72 #include "ppapi/c/private/ppb_content_decryptor_private.h" 73 #include "ppapi/c/private/ppb_content_decryptor_private.h"
73 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" 74 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h"
74 #include "ppapi/c/private/ppb_file_io_private.h" 75 #include "ppapi/c/private/ppb_file_io_private.h"
75 #include "ppapi/c/private/ppb_file_ref_private.h" 76 #include "ppapi/c/private/ppb_file_ref_private.h"
76 #include "ppapi/c/private/ppb_find_private.h" 77 #include "ppapi/c/private/ppb_find_private.h"
77 #include "ppapi/c/private/ppb_flash_clipboard.h" 78 #include "ppapi/c/private/ppb_flash_clipboard.h"
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 // static 391 // static
391 int InterfaceList::HashInterfaceName(const std::string& name) { 392 int InterfaceList::HashInterfaceName(const std::string& name) {
392 uint32 data = base::Hash(name.c_str(), name.size()); 393 uint32 data = base::Hash(name.c_str(), name.size());
393 // Strip off the signed bit because UMA doesn't support negative values, 394 // Strip off the signed bit because UMA doesn't support negative values,
394 // but takes a signed int as input. 395 // but takes a signed int as input.
395 return static_cast<int>(data & 0x7fffffff); 396 return static_cast<int>(data & 0x7fffffff);
396 } 397 }
397 398
398 } // namespace proxy 399 } // namespace proxy
399 } // namespace ppapi 400 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698