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

Side by Side Diff: webkit/plugins/npapi/plugin_list.cc

Issue 6012002: Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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 | « webkit/plugins/npapi/plugin_list.h ('k') | webkit/plugins/npapi/plugin_list_mac.mm » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "webkit/glue/plugins/plugin_list.h" 5 #include "webkit/plugins/npapi/plugin_list.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/string_split.h" 12 #include "base/string_split.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/sys_string_conversions.h" 14 #include "base/sys_string_conversions.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "net/base/mime_util.h" 17 #include "net/base/mime_util.h"
18 #include "webkit/glue/plugins/plugin_constants_win.h"
19 #include "webkit/glue/plugins/plugin_lib.h"
20 #include "webkit/glue/webkit_glue.h" 18 #include "webkit/glue/webkit_glue.h"
19 #include "webkit/plugins/npapi/plugin_constants_win.h"
20 #include "webkit/plugins/npapi/plugin_lib.h"
21 #include "webkit/plugins/plugin_switches.h" 21 #include "webkit/plugins/plugin_switches.h"
22 22
23 #if defined(OS_POSIX) 23 #if defined(OS_POSIX)
24 #include "base/stl_util-inl.h" 24 #include "base/stl_util-inl.h"
25 #include "base/third_party/valgrind/valgrind.h" 25 #include "base/third_party/valgrind/valgrind.h"
26 #endif // defined(OS_POSIX) 26 #endif // defined(OS_POSIX)
27 27
28 namespace NPAPI { 28 namespace webkit {
29 namespace npapi {
30
31 FilePath::CharType kDefaultPluginLibraryName[] =
32 FILE_PATH_LITERAL("default_plugin");
29 33
30 #if defined(OS_MACOSX) 34 #if defined(OS_MACOSX)
31 // Plugin Groups for Mac. 35 // Plugin Groups for Mac.
32 // Plugins are listed here as soon as vulnerabilities and solutions 36 // Plugins are listed here as soon as vulnerabilities and solutions
33 // (new versions) are published. 37 // (new versions) are published.
34 // TODO(panayiotis): Get the Real Player version on Mac, somehow. 38 // TODO(panayiotis): Get the Real Player version on Mac, somehow.
35 static const VersionRangeDefinition kQuicktimeVersionRange[] = { 39 static const VersionRangeDefinition kQuicktimeVersionRange[] = {
36 { "", "", "7.6.6" } 40 { "", "", "7.6.6" }
37 }; 41 };
38 static const VersionRangeDefinition kJavaVersionRange[] = { 42 static const VersionRangeDefinition kJavaVersionRange[] = {
(...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 // However, when running on Valgrind, we need to do the cleanup to keep the 774 // However, when running on Valgrind, we need to do the cleanup to keep the
771 // memory tree green. 775 // memory tree green.
772 #if defined(OS_POSIX) 776 #if defined(OS_POSIX)
773 if (RUNNING_ON_VALGRIND) { 777 if (RUNNING_ON_VALGRIND) {
774 STLDeleteContainerPairSecondPointers(plugin_groups_.begin(), 778 STLDeleteContainerPairSecondPointers(plugin_groups_.begin(),
775 plugin_groups_.end()); 779 plugin_groups_.end());
776 } 780 }
777 #endif 781 #endif
778 } 782 }
779 783
780 } // namespace NPAPI 784 } // namespace npapi
785 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_list.h ('k') | webkit/plugins/npapi/plugin_list_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698