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

Side by Side Diff: chrome/browser/plugins/plugin_metadata.h

Issue 2474713003: Migrate enabled state of plugins into specialized Flash and PDF prefs. (Closed)
Patch Set: Address comments. Created 4 years, 1 month 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 | « no previous file | chrome/browser/plugins/plugin_metadata.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_BROWSER_PLUGINS_PLUGIN_METADATA_H_ 5 #ifndef CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_
6 #define CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_ 6 #define CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 15 matching lines...) Expand all
26 SECURITY_STATUS_REQUIRES_AUTHORIZATION, 26 SECURITY_STATUS_REQUIRES_AUTHORIZATION,
27 SECURITY_STATUS_FULLY_TRUSTED, 27 SECURITY_STATUS_FULLY_TRUSTED,
28 }; 28 };
29 29
30 // Used by about:plugins to disable Reader plugin when internal PDF viewer is 30 // Used by about:plugins to disable Reader plugin when internal PDF viewer is
31 // enabled. 31 // enabled.
32 static const char kAdobeReaderGroupName[]; 32 static const char kAdobeReaderGroupName[];
33 static const char kJavaGroupName[]; 33 static const char kJavaGroupName[];
34 static const char kQuickTimeGroupName[]; 34 static const char kQuickTimeGroupName[];
35 static const char kShockwaveGroupName[]; 35 static const char kShockwaveGroupName[];
36 static const char kAdobeFlashPlayerGroupName[];
36 static const char kRealPlayerGroupName[]; 37 static const char kRealPlayerGroupName[];
37 static const char kSilverlightGroupName[]; 38 static const char kSilverlightGroupName[];
38 static const char kWindowsMediaPlayerGroupName[]; 39 static const char kWindowsMediaPlayerGroupName[];
39 static const char kGoogleTalkGroupName[]; 40 static const char kGoogleTalkGroupName[];
40 static const char kGoogleEarthGroupName[]; 41 static const char kGoogleEarthGroupName[];
41 42
42 PluginMetadata(const std::string& identifier, 43 PluginMetadata(const std::string& identifier,
43 const base::string16& name, 44 const base::string16& name,
44 bool url_for_display, 45 bool url_for_display,
45 const GURL& plugin_url, 46 const GURL& plugin_url,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 GURL help_url_; 103 GURL help_url_;
103 std::string language_; 104 std::string language_;
104 std::map<base::Version, SecurityStatus, VersionComparator> versions_; 105 std::map<base::Version, SecurityStatus, VersionComparator> versions_;
105 std::vector<std::string> all_mime_types_; 106 std::vector<std::string> all_mime_types_;
106 std::vector<std::string> matching_mime_types_; 107 std::vector<std::string> matching_mime_types_;
107 108
108 DISALLOW_COPY_AND_ASSIGN(PluginMetadata); 109 DISALLOW_COPY_AND_ASSIGN(PluginMetadata);
109 }; 110 };
110 111
111 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_ 112 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_METADATA_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/plugins/plugin_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698