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

Side by Side Diff: content/public/browser/plugin_service.h

Issue 19518006: Remove the two years old code to enable the nacl plugin once if it's disabled. This was added to de… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
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 CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 virtual void RefreshPlugins() = 0; 126 virtual void RefreshPlugins() = 0;
127 virtual void AddExtraPluginPath(const base::FilePath& path) = 0; 127 virtual void AddExtraPluginPath(const base::FilePath& path) = 0;
128 virtual void AddExtraPluginDir(const base::FilePath& path) = 0; 128 virtual void AddExtraPluginDir(const base::FilePath& path) = 0;
129 virtual void RemoveExtraPluginPath(const base::FilePath& path) = 0; 129 virtual void RemoveExtraPluginPath(const base::FilePath& path) = 0;
130 virtual void UnregisterInternalPlugin(const base::FilePath& path) = 0; 130 virtual void UnregisterInternalPlugin(const base::FilePath& path) = 0;
131 virtual void RegisterInternalPlugin(const webkit::WebPluginInfo& info, 131 virtual void RegisterInternalPlugin(const webkit::WebPluginInfo& info,
132 bool add_at_beginning) = 0; 132 bool add_at_beginning) = 0;
133 virtual void GetInternalPlugins( 133 virtual void GetInternalPlugins(
134 std::vector<webkit::WebPluginInfo>* plugins) = 0; 134 std::vector<webkit::WebPluginInfo>* plugins) = 0;
135 135
136 // TODO(dpranke): This should be private.
137 virtual webkit::npapi::PluginList* GetPluginList() = 0;
138
139 virtual void SetPluginListForTesting( 136 virtual void SetPluginListForTesting(
140 webkit::npapi::PluginList* plugin_list) = 0; 137 webkit::npapi::PluginList* plugin_list) = 0;
141 138
142 #if defined(OS_MACOSX) 139 #if defined(OS_MACOSX)
143 // Called when the application is made active so that modal plugin windows can 140 // Called when the application is made active so that modal plugin windows can
144 // be made forward too. 141 // be made forward too.
145 virtual void AppActivated() = 0; 142 virtual void AppActivated() = 0;
146 #endif 143 #endif
147 }; 144 };
148 145
149 } // namespace content 146 } // namespace content
150 147
151 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 148 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
OLDNEW
« content/browser/plugin_loader_posix.cc ('K') | « content/browser/plugin_service_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698