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

Unified Diff: chrome/browser/extensions/extension_tab_util.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/extension_tab_util.h
diff --git a/chrome/browser/extensions/extension_tab_util.h b/chrome/browser/extensions/extension_tab_util.h
index 8b556216d80de5e5e6afa1b6a16b2f9dec7c6c6d..9dbeaef22ad707e20d5440e41e74f1a01929213f 100644
--- a/chrome/browser/extensions/extension_tab_util.h
+++ b/chrome/browser/extensions/extension_tab_util.h
@@ -22,6 +22,7 @@ class ListValue;
}
namespace content {
+class BrowserContext;
class WebContents;
}
@@ -123,7 +124,9 @@ class ExtensionTabUtil {
int* tab_id);
// Any out parameter (|browser|, |tab_strip|, |contents|, & |tab_index|) may
// be NULL and will not be set within the function.
- static bool GetTabById(int tab_id, Profile* profile, bool incognito_enabled,
+ static bool GetTabById(int tab_id,
+ content::BrowserContext* browser_context,
+ bool incognito_enabled,
Browser** browser,
TabStripModel** tab_strip,
content::WebContents** contents,
« no previous file with comments | « chrome/browser/extensions/api/page_capture/page_capture_api.cc ('k') | chrome/browser/extensions/extension_tab_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698