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

Unified Diff: extensions/browser/info_map.h

Issue 266963003: Beginning of support for extension content verification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged latest trunk Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/extension_system.h ('k') | extensions/browser/info_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/info_map.h
diff --git a/extensions/browser/info_map.h b/extensions/browser/info_map.h
index ad475068eeaf58024f83d51c58908bfe13397fe2..5dfc9c2449d9d4d37f972f04cd406cb938be7788 100644
--- a/extensions/browser/info_map.h
+++ b/extensions/browser/info_map.h
@@ -16,6 +16,7 @@
#include "extensions/common/extension_set.h"
namespace extensions {
+class ContentVerifier;
class Extension;
// Contains extension data that needs to be accessed on the IO thread. It can
@@ -103,6 +104,9 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
bool notifications_disabled);
bool AreNotificationsDisabled(const std::string& extension_id) const;
+ void SetContentVerifier(ContentVerifier* verifier);
+ ContentVerifier* content_verifier() { return content_verifier_; }
+
private:
friend class base::RefCountedThreadSafe<InfoMap>;
@@ -131,6 +135,8 @@ class InfoMap : public base::RefCountedThreadSafe<InfoMap> {
extensions::ProcessMap worker_process_map_;
int signin_process_id_;
+
+ scoped_refptr<ContentVerifier> content_verifier_;
};
} // namespace extensions
« no previous file with comments | « extensions/browser/extension_system.h ('k') | extensions/browser/info_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698