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

Unified Diff: chrome/browser/extensions/api/declarative_content/content_action.h

Issue 531823002: Properly initialize variables in RequestContentScript::ScriptData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Also remove suppression Created 6 years, 3 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 | « no previous file | chrome/browser/extensions/api/declarative_content/content_action.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/declarative_content/content_action.h
diff --git a/chrome/browser/extensions/api/declarative_content/content_action.h b/chrome/browser/extensions/api/declarative_content/content_action.h
index 40daa7aa1ed6cae1e3778f7ea2362efa82aa3422..baa3f7be79d44558b808ec3cb301043db21a918d 100644
--- a/chrome/browser/extensions/api/declarative_content/content_action.h
+++ b/chrome/browser/extensions/api/declarative_content/content_action.h
@@ -92,15 +92,7 @@ class ContentAction : public base::RefCounted<ContentAction> {
// Action that injects a content script.
class RequestContentScript : public ContentAction {
public:
- struct ScriptData {
- ScriptData();
- ~ScriptData();
-
- std::vector<std::string> css_file_names;
- std::vector<std::string> js_file_names;
- bool all_frames;
- bool match_about_blank;
- };
+ struct ScriptData;
RequestContentScript(content::BrowserContext* browser_context,
const Extension* extension,
« no previous file with comments | « no previous file | chrome/browser/extensions/api/declarative_content/content_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698