OLD | NEW |
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/common/chrome_content_client.h" | 5 #include "chrome/common/chrome_content_client.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/cpu.h" | 8 #include "base/cpu.h" |
9 #include "base/debug/crash_logging.h" | 9 #include "base/debug/crash_logging.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 const char kNaClPluginMimeType[] = "application/x-nacl"; | 67 const char kNaClPluginMimeType[] = "application/x-nacl"; |
68 const char kNaClPluginExtension[] = ""; | 68 const char kNaClPluginExtension[] = ""; |
69 const char kNaClPluginDescription[] = "Native Client Executable"; | 69 const char kNaClPluginDescription[] = "Native Client Executable"; |
70 const uint32 kNaClPluginPermissions = ppapi::PERMISSION_PRIVATE | | 70 const uint32 kNaClPluginPermissions = ppapi::PERMISSION_PRIVATE | |
71 ppapi::PERMISSION_DEV; | 71 ppapi::PERMISSION_DEV; |
72 | 72 |
73 const char kPnaclPluginMimeType[] = "application/x-pnacl"; | 73 const char kPnaclPluginMimeType[] = "application/x-pnacl"; |
74 const char kPnaclPluginExtension[] = ""; | 74 const char kPnaclPluginExtension[] = ""; |
75 const char kPnaclPluginDescription[] = "Portable Native Client Executable"; | 75 const char kPnaclPluginDescription[] = "Portable Native Client Executable"; |
76 const uint32 kPnaclPluginPermissions = ppapi::PERMISSION_PRIVATE | | |
77 ppapi::PERMISSION_DEV; | |
78 | 76 |
79 const char kO3DPluginName[] = "Google Talk Plugin Video Accelerator"; | 77 const char kO3DPluginName[] = "Google Talk Plugin Video Accelerator"; |
80 const char kO3DPluginMimeType[] ="application/vnd.o3d.auto"; | 78 const char kO3DPluginMimeType[] ="application/vnd.o3d.auto"; |
81 const char kO3DPluginExtension[] = ""; | 79 const char kO3DPluginExtension[] = ""; |
82 const char kO3DPluginDescription[] = "O3D MIME"; | 80 const char kO3DPluginDescription[] = "O3D MIME"; |
83 const uint32 kO3DPluginPermissions = ppapi::PERMISSION_PRIVATE | | 81 const uint32 kO3DPluginPermissions = ppapi::PERMISSION_PRIVATE | |
84 ppapi::PERMISSION_DEV; | 82 ppapi::PERMISSION_DEV; |
85 | 83 |
86 const char kO1DPluginName[] = "Google Talk Plugin Video Renderer"; | 84 const char kO1DPluginName[] = "Google Talk Plugin Video Renderer"; |
87 const char kO1DPluginMimeType[] ="application/o1d"; | 85 const char kO1DPluginMimeType[] ="application/o1d"; |
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 } | 531 } |
534 return false; | 532 return false; |
535 } | 533 } |
536 | 534 |
537 std::string ChromeContentClient::GetCarbonInterposePath() const { | 535 std::string ChromeContentClient::GetCarbonInterposePath() const { |
538 return std::string(kInterposeLibraryPath); | 536 return std::string(kInterposeLibraryPath); |
539 } | 537 } |
540 #endif | 538 #endif |
541 | 539 |
542 } // namespace chrome | 540 } // namespace chrome |
OLD | NEW |