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

Unified Diff: chrome/common/extensions/dom_action_types.h

Issue 15520002: Moved DOMActionType information from extras into a real field (ActivityLog) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added prefix Created 7 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 | « chrome/chrome_common.gypi ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/dom_action_types.h
diff --git a/chrome/common/extensions/dom_action_types.h b/chrome/common/extensions/dom_action_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..6887bddc06aaa27d99291ce0eba46b17909e9af5
--- /dev/null
+++ b/chrome/common/extensions/dom_action_types.h
@@ -0,0 +1,26 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_COMMON_EXTENSIONS_DOM_ACTION_TYPES_H_
+#define CHROME_COMMON_EXTENSIONS_DOM_ACTION_TYPES_H_
+
+namespace extensions {
+
+struct DomActionType {
+ // These values should not be changed. Append any additional values to the
+ // end with sequential numbers.
+ enum Type {
+ GETTER = 0, // For Content Script DOM manipulations
+ SETTER = 1, // For Content Script DOM manipulations
+ METHOD = 2, // For Content Script DOM manipulations
+ INSERTED = 3, // For when Content Scripts are added to pages
+ XHR = 4, // When an extension core sends an XHR
+ WEBREQUEST = 5, // When a page request is modified with the WebRequest API
+ MODIFIED = 6, // For legacy, also used as a catch-all
+ };
+};
+
+} // namespace
+
+#endif // CHROME_COMMON_EXTENSIONS_DOM_ACTION_TYPES_H_
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698