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

Side by Side Diff: chrome/renderer/chrome_ppapi_interfaces.cc

Issue 9666020: Add a private PPB_Talk_Private interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « no previous file | chrome/renderer/chrome_ppb_talk_private_impl.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 "chrome/renderer/chrome_ppapi_interfaces.h" 5 #include "chrome/renderer/chrome_ppapi_interfaces.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/rand_util_c.h" 10 #include "base/rand_util_c.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 }; 95 };
96 #endif // DISABLE_NACL 96 #endif // DISABLE_NACL
97 97
98 const void* ChromePPAPIInterfaceFactory(const std::string& interface_name) { 98 const void* ChromePPAPIInterfaceFactory(const std::string& interface_name) {
99 #if !defined(DISABLE_NACL) 99 #if !defined(DISABLE_NACL)
100 if (interface_name == PPB_NACL_PRIVATE_INTERFACE) 100 if (interface_name == PPB_NACL_PRIVATE_INTERFACE)
101 return chrome::PPB_NaCl_Impl::GetInterface(); 101 return chrome::PPB_NaCl_Impl::GetInterface();
102 #endif // DISABLE_NACL 102 #endif // DISABLE_NACL
103 if (interface_name == PPB_PDF_INTERFACE) 103 if (interface_name == PPB_PDF_INTERFACE)
104 return chrome::PPB_PDF_Impl::GetInterface(); 104 return chrome::PPB_PDF_Impl::GetInterface();
105 if (interface_name PPB_TALK_PRIVATE_1_0_INTERFACE)
106 return chrome::PPB_Talk_Private_Impl::GetInterface();
105 return NULL; 107 return NULL;
106 } 108 }
107 109
108 } // namespace chrome 110 } // namespace chrome
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_ppb_talk_private_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698