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

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

Issue 859313002: Pepper: Define PPB_VideoEncoder API + Implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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_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_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 #include "ppapi/c/ppb_text_input_controller.h" 61 #include "ppapi/c/ppb_text_input_controller.h"
62 #include "ppapi/c/ppb_udp_socket.h" 62 #include "ppapi/c/ppb_udp_socket.h"
63 #include "ppapi/c/ppb_url_loader.h" 63 #include "ppapi/c/ppb_url_loader.h"
64 #include "ppapi/c/ppb_url_request_info.h" 64 #include "ppapi/c/ppb_url_request_info.h"
65 #include "ppapi/c/ppb_url_response_info.h" 65 #include "ppapi/c/ppb_url_response_info.h"
66 #include "ppapi/c/ppb_var.h" 66 #include "ppapi/c/ppb_var.h"
67 #include "ppapi/c/ppb_var_array.h" 67 #include "ppapi/c/ppb_var_array.h"
68 #include "ppapi/c/ppb_var_array_buffer.h" 68 #include "ppapi/c/ppb_var_array_buffer.h"
69 #include "ppapi/c/ppb_var_dictionary.h" 69 #include "ppapi/c/ppb_var_dictionary.h"
70 #include "ppapi/c/ppb_video_decoder.h" 70 #include "ppapi/c/ppb_video_decoder.h"
71 #include "ppapi/c/ppb_video_encoder.h"
71 #include "ppapi/c/ppb_video_frame.h" 72 #include "ppapi/c/ppb_video_frame.h"
72 #include "ppapi/c/ppb_view.h" 73 #include "ppapi/c/ppb_view.h"
73 #include "ppapi/c/pp_errors.h" 74 #include "ppapi/c/pp_errors.h"
74 #include "ppapi/c/ppp_instance.h" 75 #include "ppapi/c/ppp_instance.h"
75 #include "ppapi/c/private/ppb_content_decryptor_private.h" 76 #include "ppapi/c/private/ppb_content_decryptor_private.h"
76 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" 77 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h"
77 #include "ppapi/c/private/ppb_file_io_private.h" 78 #include "ppapi/c/private/ppb_file_io_private.h"
78 #include "ppapi/c/private/ppb_file_ref_private.h" 79 #include "ppapi/c/private/ppb_file_ref_private.h"
79 #include "ppapi/c/private/ppb_find_private.h" 80 #include "ppapi/c/private/ppb_find_private.h"
80 #include "ppapi/c/private/ppb_flash_clipboard.h" 81 #include "ppapi/c/private/ppb_flash_clipboard.h"
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 413
413 int InterfaceList::HashInterfaceName(const std::string& name) { 414 int InterfaceList::HashInterfaceName(const std::string& name) {
414 uint32 data = base::Hash(name.c_str(), name.size()); 415 uint32 data = base::Hash(name.c_str(), name.size());
415 // Strip off the signed bit because UMA doesn't support negative values, 416 // Strip off the signed bit because UMA doesn't support negative values,
416 // but takes a signed int as input. 417 // but takes a signed int as input.
417 return static_cast<int>(data & 0x7fffffff); 418 return static_cast<int>(data & 0x7fffffff);
418 } 419 }
419 420
420 } // namespace proxy 421 } // namespace proxy
421 } // namespace ppapi 422 } // 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