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

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

Issue 535203003: Replace Profile* in declarative_api with BrowserContext* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove changes to unit-test; those have to wait until move. 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
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 baa3f7be79d44558b808ec3cb301043db21a918d..04ddd66c191d8900a82c23544907f9d5357c3ad0 100644
--- a/chrome/browser/extensions/api/declarative_content/content_action.h
+++ b/chrome/browser/extensions/api/declarative_content/content_action.h
@@ -12,14 +12,13 @@
#include "chrome/browser/extensions/api/declarative/declarative_rule.h"
#include "chrome/browser/extensions/declarative_user_script_master.h"
-class Profile;
-
namespace base {
class Time;
class Value;
}
namespace content {
+class BrowserContext;
class WebContents;
}
@@ -36,7 +35,7 @@ class ContentAction : public base::RefCounted<ContentAction> {
};
struct ApplyInfo {
- Profile* profile;
+ content::BrowserContext* browser_context;
content::WebContents* tab;
};

Powered by Google App Engine
This is Rietveld 408576698