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

Side by Side Diff: extensions/common/feature_switch.h

Issue 2633253002: Split content script injections into multiple tasks (Closed)
Patch Set: Inject document_idle scripts before window.onload Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_COMMON_FEATURE_SWITCH_H_ 5 #ifndef EXTENSIONS_COMMON_FEATURE_SWITCH_H_
6 #define EXTENSIONS_COMMON_FEATURE_SWITCH_H_ 6 #define EXTENSIONS_COMMON_FEATURE_SWITCH_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 23 matching lines...) Expand all
34 static FeatureSwitch* force_dev_mode_highlighting(); 34 static FeatureSwitch* force_dev_mode_highlighting();
35 static FeatureSwitch* prompt_for_external_extensions(); 35 static FeatureSwitch* prompt_for_external_extensions();
36 static FeatureSwitch* error_console(); 36 static FeatureSwitch* error_console();
37 static FeatureSwitch* enable_override_bookmarks_ui(); 37 static FeatureSwitch* enable_override_bookmarks_ui();
38 static FeatureSwitch* extension_action_redesign(); 38 static FeatureSwitch* extension_action_redesign();
39 static FeatureSwitch* scripts_require_action(); 39 static FeatureSwitch* scripts_require_action();
40 static FeatureSwitch* embedded_extension_options(); 40 static FeatureSwitch* embedded_extension_options();
41 static FeatureSwitch* trace_app_source(); 41 static FeatureSwitch* trace_app_source();
42 static FeatureSwitch* load_media_router_component_extension(); 42 static FeatureSwitch* load_media_router_component_extension();
43 static FeatureSwitch* native_crx_bindings(); 43 static FeatureSwitch* native_crx_bindings();
44 static FeatureSwitch* yield_between_content_script_runs();
44 45
45 enum DefaultValue { 46 enum DefaultValue {
46 DEFAULT_ENABLED, 47 DEFAULT_ENABLED,
47 DEFAULT_DISABLED 48 DEFAULT_DISABLED
48 }; 49 };
49 50
50 enum OverrideValue { 51 enum OverrideValue {
51 OVERRIDE_NONE, 52 OVERRIDE_NONE,
52 OVERRIDE_ENABLED, 53 OVERRIDE_ENABLED,
53 OVERRIDE_DISABLED 54 OVERRIDE_DISABLED
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const char* field_trial_name_; 95 const char* field_trial_name_;
95 bool default_value_; 96 bool default_value_;
96 OverrideValue override_value_; 97 OverrideValue override_value_;
97 98
98 DISALLOW_COPY_AND_ASSIGN(FeatureSwitch); 99 DISALLOW_COPY_AND_ASSIGN(FeatureSwitch);
99 }; 100 };
100 101
101 } // namespace extensions 102 } // namespace extensions
102 103
103 #endif // EXTENSIONS_COMMON_FEATURE_SWITCH_H_ 104 #endif // EXTENSIONS_COMMON_FEATURE_SWITCH_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698