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

Side by Side Diff: extensions/renderer/script_injection_manager.h

Issue 2099043002: Fix uninitialized field in ScriptInjectionManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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_RENDERER_SCRIPT_INJECTION_MANAGER_H_ 5 #ifndef EXTENSIONS_RENDERER_SCRIPT_INJECTION_MANAGER_H_
6 #define EXTENSIONS_RENDERER_SCRIPT_INJECTION_MANAGER_H_ 6 #define EXTENSIONS_RENDERER_SCRIPT_INJECTION_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 UserScriptSetManager* user_script_set_manager_; 113 UserScriptSetManager* user_script_set_manager_;
114 114
115 // Pending injections which are waiting for either the proper run location or 115 // Pending injections which are waiting for either the proper run location or
116 // user consent. 116 // user consent.
117 ScriptInjectionVector pending_injections_; 117 ScriptInjectionVector pending_injections_;
118 118
119 // Running injections which are waiting for async callbacks from blink. 119 // Running injections which are waiting for async callbacks from blink.
120 ScriptInjectionVector running_injections_; 120 ScriptInjectionVector running_injections_;
121 121
122 // Whether or not dom activity should be logged for scripts injected. 122 // Whether or not dom activity should be logged for scripts injected.
123 bool activity_logging_enabled_; 123 bool activity_logging_enabled_ = false;
124 124
125 ScopedObserver<UserScriptSetManager, UserScriptSetManager::Observer> 125 ScopedObserver<UserScriptSetManager, UserScriptSetManager::Observer>
126 user_script_set_manager_observer_; 126 user_script_set_manager_observer_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(ScriptInjectionManager); 128 DISALLOW_COPY_AND_ASSIGN(ScriptInjectionManager);
129 }; 129 };
130 130
131 } // namespace extensions 131 } // namespace extensions
132 132
133 #endif // EXTENSIONS_RENDERER_SCRIPT_INJECTION_MANAGER_H_ 133 #endif // EXTENSIONS_RENDERER_SCRIPT_INJECTION_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698