| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef EXTENSIONS_RENDERER_EXTENSION_GROUPS_H_ | |
| 6 #define EXTENSIONS_RENDERER_EXTENSION_GROUPS_H_ | |
| 7 | |
| 8 namespace extensions { | |
| 9 | |
| 10 // A set of extension groups for use with blink::registerExtension and | |
| 11 // WebFrame::ExecuteScriptInNewWorld to control which extensions get loaded | |
| 12 // into which contexts. | |
| 13 // TODO(kalman): Remove this when https://crbug.com/481699 is fixed. | |
| 14 enum ExtensionGroups { | |
| 15 // Use this to mark extensions to be loaded into content scripts only. | |
| 16 EXTENSION_GROUP_CONTENT_SCRIPTS = 1, | |
| 17 }; | |
| 18 | |
| 19 } // namespace extensions | |
| 20 | |
| 21 #endif // EXTENSIONS_RENDERER_EXTENSION_GROUPS_H_ | |
| OLD | NEW |