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

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

Issue 2298493003: [Extensions] Convert some ChromeSyncExtensionFunctions (Closed)
Patch Set: fix Created 4 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/extension_tab_util.h
diff --git a/chrome/browser/extensions/extension_tab_util.h b/chrome/browser/extensions/extension_tab_util.h
index 7b34826eefe08039a2117e8cac986ecd668e2ed1..fe47b014c11a4ce3153396aaf483e1ce962c0f0b 100644
--- a/chrome/browser/extensions/extension_tab_util.h
+++ b/chrome/browser/extensions/extension_tab_util.h
@@ -19,6 +19,7 @@ class ExtensionFunction;
class GURL;
class Profile;
class TabStripModel;
+class UIThreadExtensionFunction;
namespace base {
class DictionaryValue;
@@ -35,7 +36,6 @@ class Rect;
}
namespace extensions {
-
class Extension;
class WindowController;
@@ -58,10 +58,9 @@ class ExtensionTabUtil {
// 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.
- static base::DictionaryValue* OpenTab(
- ChromeUIThreadExtensionFunction* function,
- const OpenTabParams& params,
- std::string* error);
+ static base::DictionaryValue* OpenTab(UIThreadExtensionFunction* function,
+ const OpenTabParams& params,
+ std::string* error);
static int GetWindowId(const Browser* browser);
static int GetWindowIdOfTabStripModel(const TabStripModel* tab_strip_model);
« no previous file with comments | « chrome/browser/extensions/api/preference/chrome_direct_setting.cc ('k') | chrome/browser/extensions/extension_tab_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698