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

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: Refactor UserScriptMaster into UserScriptLoader, managed by SharedUserScriptMaster and DeclarativeU… Created 6 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 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 b95607857489a890777b42e5a59707af071d8371..37320a7d6a0823bf30acf61e04aef1ad8296fb3f 100644
--- a/extensions/common/user_script.h
+++ b/extensions/common/user_script.h
@@ -287,6 +287,10 @@ 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;
Devlin 2014/08/04 18:33:26 Delete
Mark Dittmer 2014/08/05 20:33:20 Done.
typedef std::vector<UserScript> UserScriptList;
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698