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

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

Issue 493633003: Browser changes for wiring up RequestContentScript API to shared memory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove browsertests. AGAIN. Created 6 years, 4 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
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 347cf53e86a47956373354367c6e66c7847753b5..ab191c3e2c174f9316efc34366023a3aa6d0ada1 100644
--- a/chrome/browser/extensions/api/declarative_content/content_action.h
+++ b/chrome/browser/extensions/api/declarative_content/content_action.h
@@ -63,10 +63,12 @@ class ContentAction : public base::RefCounted<ContentAction> {
// Sets |error| and returns NULL in case of a semantic error that cannot
// be caught by schema validation. Sets |bad_message| and returns NULL
// in case the input is syntactically unexpected.
- static scoped_refptr<ContentAction> Create(const Extension* extension,
- const base::Value& json_action,
- std::string* error,
- bool* bad_message);
+ static scoped_refptr<ContentAction> Create(
+ content::BrowserContext* browser_context,
+ const Extension* extension,
+ const base::Value& json_action,
+ std::string* error,
+ bool* bad_message);
protected:
friend class base::RefCounted<ContentAction>;

Powered by Google App Engine
This is Rietveld 408576698