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

Side by Side Diff: chrome/common/extensions/extension.h

Issue 12211029: Sanity tweaks to the extension blacklist: check all extensions at once on (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more test fixes Created 7 years, 10 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
« no previous file with comments | « chrome/browser/extensions/updater/extension_updater_unittest.cc ('k') | no next file » | 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_EXTENSIONS_EXTENSION_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <iosfwd> 9 #include <iosfwd>
10 #include <map> 10 #include <map>
(...skipping 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 // Content-Security-Policies to mitigate cross-site scripting and other 963 // Content-Security-Policies to mitigate cross-site scripting and other
964 // vulnerabilities. 964 // vulnerabilities.
965 std::string content_security_policy_; 965 std::string content_security_policy_;
966 966
967 FRIEND_TEST_ALL_PREFIXES(ExtensionTest, LoadPageActionHelper); 967 FRIEND_TEST_ALL_PREFIXES(ExtensionTest, LoadPageActionHelper);
968 FRIEND_TEST_ALL_PREFIXES(::TabStripModelTest, Apps); 968 FRIEND_TEST_ALL_PREFIXES(::TabStripModelTest, Apps);
969 969
970 DISALLOW_COPY_AND_ASSIGN(Extension); 970 DISALLOW_COPY_AND_ASSIGN(Extension);
971 }; 971 };
972 972
973 typedef std::vector< scoped_refptr<const Extension> > ExtensionList; 973 typedef std::vector<scoped_refptr<const Extension> > ExtensionList;
974 typedef std::set<std::string> ExtensionIdSet; 974 typedef std::set<std::string> ExtensionIdSet;
975 typedef std::vector<std::string> ExtensionIdList; 975 typedef std::vector<std::string> ExtensionIdList;
976 976
977 // Handy struct to pass core extension info around. 977 // Handy struct to pass core extension info around.
978 struct ExtensionInfo { 978 struct ExtensionInfo {
979 ExtensionInfo(const base::DictionaryValue* manifest, 979 ExtensionInfo(const base::DictionaryValue* manifest,
980 const std::string& id, 980 const std::string& id,
981 const base::FilePath& path, 981 const base::FilePath& path,
982 Manifest::Location location); 982 Manifest::Location location);
983 ~ExtensionInfo(); 983 ~ExtensionInfo();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 1024
1025 UpdatedExtensionPermissionsInfo( 1025 UpdatedExtensionPermissionsInfo(
1026 const Extension* extension, 1026 const Extension* extension,
1027 const PermissionSet* permissions, 1027 const PermissionSet* permissions,
1028 Reason reason); 1028 Reason reason);
1029 }; 1029 };
1030 1030
1031 } // namespace extensions 1031 } // namespace extensions
1032 1032
1033 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 1033 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/updater/extension_updater_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698