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

Unified Diff: extensions/common/constants.h

Issue 348313003: Create withheld permissions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test fix Created 6 years, 6 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/constants.h
diff --git a/extensions/common/constants.h b/extensions/common/constants.h
index 66fe2ba4d1e6b9250a5bcc29a3940945fa914c50..89d7efb1b0fd090106249e73c16dd37faa13120b 100644
--- a/extensions/common/constants.h
+++ b/extensions/common/constants.h
@@ -139,6 +139,12 @@ extern const size_t kNumExtensionIconSizes;
extern const int kExtensionActionIconSizes[];
extern const size_t kNumExtensionActionIconSizes;
+// The type of injected script.
+enum InjectedScriptType {
+ CONTENT_SCRIPT, // A content script specified in the extenion's manifest.
not at google - send to devlin 2014/06/27 23:24:33 extension's
Devlin 2014/06/30 17:06:10 That typo was totally my intentional way of making
+ PROGRAMMATIC_SCRIPT // A script injected via, e.g. tabs.executeScript().
+};
+
} // namespace extension_misc
#endif // EXTENSIONS_COMMON_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698