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

Unified Diff: chrome/browser/extensions/extension_tab_util.h

Issue 2858643002: PS - Filtering activeTab URL (Closed)
Patch Set: Created 3 years, 8 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/extension_tab_util.h
diff --git a/chrome/browser/extensions/extension_tab_util.h b/chrome/browser/extensions/extension_tab_util.h
index d37403d40052804f477e0255fbc4be9d85d13b55..becb9e156a856252c7abbbcbc6a8ac3f100ec6dc 100644
--- a/chrome/browser/extensions/extension_tab_util.h
+++ b/chrome/browser/extensions/extension_tab_util.h
@@ -58,11 +58,13 @@ class ExtensionTabUtil {
public:
virtual ~Delegate() {}
// Platform specific scrubbing of tab info for |extension|.
- virtual void ScrubTabForExtension(const Extension* extension,
- content::WebContents* contents,
+ virtual void ScrubTabForExtension(const std::string& extension_id,
api::tabs::Tab* tab) = 0;
};
+ static void PlatformSpecificFiltering(const std::string& extension_id,
+ api::tabs::Tab* tab);
+
// Opens a new tab given an extension function |function| and creation
// parameters |params|. Returns a Tab object if successful, or NULL and
// optionally sets |error| if an error occurs.

Powered by Google App Engine
This is Rietveld 408576698