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

Unified Diff: extensions/common/user_script.h

Issue 420543002: Declarative content scripts: Browser-side: per-extension shared memory regions (lazily loaded) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added missing changes to extension systems Created 6 years, 5 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
Index: extensions/common/user_script.h
diff --git a/extensions/common/user_script.h b/extensions/common/user_script.h
index 54f5879e5bdf1bdd25d62c8bda55d51c854b4276..15c7a01c582b2271e69f525306f638843594409b 100644
--- a/extensions/common/user_script.h
+++ b/extensions/common/user_script.h
@@ -284,6 +284,9 @@ class UserScript {
bool incognito_enabled_;
};
+// For storing UserScripts with unique IDs in sets.
+bool operator<(const UserScript& script1, const UserScript& script2);
+
typedef std::vector<UserScript> UserScriptList;
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698