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

Unified Diff: chrome/browser/automation/automation_util.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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/automation/automation_util.h
diff --git a/chrome/browser/automation/automation_util.h b/chrome/browser/automation/automation_util.h
index c33fd72607285d3d6c553af871776e2062a15f5f..942a08b4959cd00e0f7f69fa3751710e3e42d198 100644
--- a/chrome/browser/automation/automation_util.h
+++ b/chrome/browser/automation/automation_util.h
@@ -13,7 +13,6 @@
class AutomationId;
class AutomationProvider;
class Browser;
-class Extension;
class GURL;
class Profile;
class TabContentsWrapper;
@@ -27,6 +26,10 @@ namespace base {
class DictionaryValue;
}
+namespace extensions {
+class Extension;
+}
+
namespace IPC {
class Message;
}
@@ -96,7 +99,7 @@ AutomationId GetIdForExtensionView(
const content::RenderViewHost* render_view_host);
// Returns a valid automation ID for the extension.
-AutomationId GetIdForExtension(const Extension* extension);
+AutomationId GetIdForExtension(const extensions::Extension* extension);
// Gets the tab for the given ID. Returns true on success.
bool GetTabForId(const AutomationId& id, content::WebContents** tab);
@@ -109,7 +112,7 @@ bool GetRenderViewForId(const AutomationId& id,
// Gets the extension for the given ID. Returns true on success.
bool GetExtensionForId(const AutomationId& id,
Profile* profile,
- const Extension** extension);
+ const extensions::Extension** extension);
// Returns whether the given ID refers to an actual automation entity.
bool DoesObjectWithIdExist(const AutomationId& id, Profile* profile);
« no previous file with comments | « chrome/browser/automation/automation_provider_observers.cc ('k') | chrome/browser/automation/automation_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698