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

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

Issue 3120021: FBTF: Header cleanup in chrome/common part 2. The majority of the changed files (Closed)
Patch Set: Win fix 2. Created 10 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/common/pepper_plugin_registry.h ('k') | chrome/common/plugin_group.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) 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 #ifndef CHROME_COMMON_PLUGIN_GROUP_H_ 5 #ifndef CHROME_COMMON_PLUGIN_GROUP_H_
6 #define CHROME_COMMON_PLUGIN_GROUP_H_ 6 #define CHROME_COMMON_PLUGIN_GROUP_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/linked_ptr.h"
14 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
15 #include "base/string16.h" 14 #include "base/string16.h"
16 #include "webkit/glue/plugins/webplugininfo.h"
17 15
18 class DictionaryValue; 16 class DictionaryValue;
17 class FilePath;
19 class Version; 18 class Version;
19 struct WebPluginInfo;
20
21 template <typename T>
22 class linked_ptr;
20 23
21 // Hard-coded definitions of plugin groups. 24 // Hard-coded definitions of plugin groups.
22 struct PluginGroupDefinition { 25 struct PluginGroupDefinition {
23 const char* name; // Name of this group. 26 const char* name; // Name of this group.
24 const char* name_matcher; // Substring matcher for the plugin name. 27 const char* name_matcher; // Substring matcher for the plugin name.
25 const char* version_matcher_low; // Matchers for the plugin version. 28 const char* version_matcher_low; // Matchers for the plugin version.
26 const char* version_matcher_high; 29 const char* version_matcher_high;
27 const char* min_version; // Minimum secure version. 30 const char* min_version; // Minimum secure version.
28 const char* update_url; // Location of latest secure version. 31 const char* update_url; // Location of latest secure version.
29 }; 32 };
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 std::string min_version_str_; 150 std::string min_version_str_;
148 scoped_ptr<Version> min_version_; 151 scoped_ptr<Version> min_version_;
149 scoped_ptr<Version> version_; 152 scoped_ptr<Version> version_;
150 std::vector<WebPluginInfo> web_plugin_infos_; 153 std::vector<WebPluginInfo> web_plugin_infos_;
151 std::vector<int> web_plugin_positions_; 154 std::vector<int> web_plugin_positions_;
152 155
153 DISALLOW_COPY_AND_ASSIGN(PluginGroup); 156 DISALLOW_COPY_AND_ASSIGN(PluginGroup);
154 }; 157 };
155 158
156 #endif // CHROME_COMMON_PLUGIN_GROUP_H_ 159 #endif // CHROME_COMMON_PLUGIN_GROUP_H_
OLDNEW
« no previous file with comments | « chrome/common/pepper_plugin_registry.h ('k') | chrome/common/plugin_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698