OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "webkit/glue/plugins/plugin_list.h" | 7 #include "webkit/glue/plugins/plugin_list.h" |
8 | 8 |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/logging.h" | |
11 #include "base/path_service.h" | 10 #include "base/path_service.h" |
12 | 11 |
13 namespace NPAPI { | 12 namespace NPAPI { |
14 | 13 |
15 void PluginList::PlatformInit() { | 14 void PluginList::PlatformInit() { |
16 } | 15 } |
17 | 16 |
18 void PluginList::GetPluginDirectories(std::vector<FilePath>* plugin_dirs) { | 17 void PluginList::GetPluginDirectories(std::vector<FilePath>* plugin_dirs) { |
19 // For now, just look in the plugins/ under the exe directory. | 18 // For now, just look in the plugins/ under the exe directory. |
20 // TODO(port): this is not correct. Rather than getting halfway there, | 19 // TODO(port): this is not correct. Rather than getting halfway there, |
(...skipping 21 matching lines...) Expand all Loading... |
42 // TODO(evanm): figure out which behavior is appropriate for Linux. | 41 // TODO(evanm): figure out which behavior is appropriate for Linux. |
43 // We don't need either yet as I'm just testing with Flash for now. | 42 // We don't need either yet as I'm just testing with Flash for now. |
44 return true; | 43 return true; |
45 } | 44 } |
46 | 45 |
47 void PluginList::LoadInternalPlugins() { | 46 void PluginList::LoadInternalPlugins() { |
48 // none for now | 47 // none for now |
49 } | 48 } |
50 | 49 |
51 } // namespace NPAPI | 50 } // namespace NPAPI |
OLD | NEW |