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

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

Issue 1151973003: ppapi: implement PPB_AudioEncoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More Windows fixes in proxy code Created 5 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
« no previous file with comments | « ppapi/proxy/audio_encoder_resource.cc ('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 11 matching lines...) Expand all
22 #include "ppapi/c/dev/ppb_text_input_dev.h" 22 #include "ppapi/c/dev/ppb_text_input_dev.h"
23 #include "ppapi/c/dev/ppb_trace_event_dev.h" 23 #include "ppapi/c/dev/ppb_trace_event_dev.h"
24 #include "ppapi/c/dev/ppb_truetype_font_dev.h" 24 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
25 #include "ppapi/c/dev/ppb_url_util_dev.h" 25 #include "ppapi/c/dev/ppb_url_util_dev.h"
26 #include "ppapi/c/dev/ppb_var_deprecated.h" 26 #include "ppapi/c/dev/ppb_var_deprecated.h"
27 #include "ppapi/c/dev/ppb_video_capture_dev.h" 27 #include "ppapi/c/dev/ppb_video_capture_dev.h"
28 #include "ppapi/c/dev/ppb_view_dev.h" 28 #include "ppapi/c/dev/ppb_view_dev.h"
29 #include "ppapi/c/ppb_audio.h" 29 #include "ppapi/c/ppb_audio.h"
30 #include "ppapi/c/ppb_audio_buffer.h" 30 #include "ppapi/c/ppb_audio_buffer.h"
31 #include "ppapi/c/ppb_audio_config.h" 31 #include "ppapi/c/ppb_audio_config.h"
32 #include "ppapi/c/ppb_audio_encoder.h"
32 #include "ppapi/c/ppb_compositor.h" 33 #include "ppapi/c/ppb_compositor.h"
33 #include "ppapi/c/ppb_compositor_layer.h" 34 #include "ppapi/c/ppb_compositor_layer.h"
34 #include "ppapi/c/ppb_console.h" 35 #include "ppapi/c/ppb_console.h"
35 #include "ppapi/c/ppb_core.h" 36 #include "ppapi/c/ppb_core.h"
36 #include "ppapi/c/ppb_file_io.h" 37 #include "ppapi/c/ppb_file_io.h"
37 #include "ppapi/c/ppb_file_ref.h" 38 #include "ppapi/c/ppb_file_ref.h"
38 #include "ppapi/c/ppb_file_system.h" 39 #include "ppapi/c/ppb_file_system.h"
39 #include "ppapi/c/ppb_fullscreen.h" 40 #include "ppapi/c/ppb_fullscreen.h"
40 #include "ppapi/c/ppb_graphics_2d.h" 41 #include "ppapi/c/ppb_graphics_2d.h"
41 #include "ppapi/c/ppb_host_resolver.h" 42 #include "ppapi/c/ppb_host_resolver.h"
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 410
410 int InterfaceList::HashInterfaceName(const std::string& name) { 411 int InterfaceList::HashInterfaceName(const std::string& name) {
411 uint32 data = base::Hash(name.c_str(), name.size()); 412 uint32 data = base::Hash(name.c_str(), name.size());
412 // Strip off the signed bit because UMA doesn't support negative values, 413 // Strip off the signed bit because UMA doesn't support negative values,
413 // but takes a signed int as input. 414 // but takes a signed int as input.
414 return static_cast<int>(data & 0x7fffffff); 415 return static_cast<int>(data & 0x7fffffff);
415 } 416 }
416 417
417 } // namespace proxy 418 } // namespace proxy
418 } // namespace ppapi 419 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/audio_encoder_resource.cc ('k') | ppapi/proxy/ppapi_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698