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

Side by Side Diff: chrome/common/chrome_content_client.h

Issue 1271523003: Remove remoting client plugin from chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android and GN build Created 5 years, 4 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 | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/chrome_content_client.cc » ('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 #ifndef CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 5 #ifndef CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 11 matching lines...) Expand all
22 class ChromeContentClient : public content::ContentClient { 22 class ChromeContentClient : public content::ContentClient {
23 public: 23 public:
24 static const char kPDFPluginName[]; 24 static const char kPDFPluginName[];
25 static const char kPDFPluginPath[]; 25 static const char kPDFPluginPath[];
26 static const char kRemotingViewerPluginPath[]; 26 static const char kRemotingViewerPluginPath[];
27 27
28 // The methods below are called by child processes to set the function 28 // The methods below are called by child processes to set the function
29 // pointers for built-in plugins. We avoid linking these plugins into 29 // pointers for built-in plugins. We avoid linking these plugins into
30 // chrome_common because then on Windows we would ship them twice because of 30 // chrome_common because then on Windows we would ship them twice because of
31 // the split DLL. 31 // the split DLL.
32 #if defined(ENABLE_REMOTING)
33 static void SetRemotingEntryFunctions(
34 content::PepperPluginInfo::GetInterfaceFunc get_interface,
35 content::PepperPluginInfo::PPP_InitializeModuleFunc initialize_module,
36 content::PepperPluginInfo::PPP_ShutdownModuleFunc shutdown_module);
37 #endif
38
39 #if !defined(DISABLE_NACL) 32 #if !defined(DISABLE_NACL)
40 static void SetNaClEntryFunctions( 33 static void SetNaClEntryFunctions(
41 content::PepperPluginInfo::GetInterfaceFunc get_interface, 34 content::PepperPluginInfo::GetInterfaceFunc get_interface,
42 content::PepperPluginInfo::PPP_InitializeModuleFunc initialize_module, 35 content::PepperPluginInfo::PPP_InitializeModuleFunc initialize_module,
43 content::PepperPluginInfo::PPP_ShutdownModuleFunc shutdown_module); 36 content::PepperPluginInfo::PPP_ShutdownModuleFunc shutdown_module);
44 #endif 37 #endif
45 38
46 #if defined(ENABLE_PLUGINS) 39 #if defined(ENABLE_PLUGINS)
47 static void SetPDFEntryFunctions( 40 static void SetPDFEntryFunctions(
48 content::PepperPluginInfo::GetInterfaceFunc get_interface, 41 content::PepperPluginInfo::GetInterfaceFunc get_interface,
(...skipping 24 matching lines...) Expand all
73 int* sandbox_profile_resource_id) const override; 66 int* sandbox_profile_resource_id) const override;
74 #endif 67 #endif
75 68
76 void AddSecureSchemesAndOrigins(std::set<std::string>* schemes, 69 void AddSecureSchemesAndOrigins(std::set<std::string>* schemes,
77 std::set<GURL>* origins) override; 70 std::set<GURL>* origins) override;
78 71
79 void AddServiceWorkerSchemes(std::set<std::string>* schemes) override; 72 void AddServiceWorkerSchemes(std::set<std::string>* schemes) override;
80 }; 73 };
81 74
82 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ 75 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/chrome_content_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698