summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider_json.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 16:52:20 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-04 16:52:20 +0000
commit6acde635328db851483aa3f5a13eba8a687fe29d (patch)
tree966a1df295acd70d9e77209a538aa5201ebb330a /chrome/browser/automation/automation_provider_json.h
parent908da49b07a50a4062c770be8e7fdf8dfe34517b (diff)
downloadchromium_src-6acde635328db851483aa3f5a13eba8a687fe29d.zip
chromium_src-6acde635328db851483aa3f5a13eba8a687fe29d.tar.gz
chromium_src-6acde635328db851483aa3f5a13eba8a687fe29d.tar.bz2
Replace Browser::GetTabContentsAt with GetWebContentsAt and update all callers.
BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9085006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider_json.h')
-rw-r--r--chrome/browser/automation/automation_provider_json.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/automation/automation_provider_json.h b/chrome/browser/automation/automation_provider_json.h
index 7b46879..9ca6e906 100644
--- a/chrome/browser/automation/automation_provider_json.h
+++ b/chrome/browser/automation/automation_provider_json.h
@@ -19,13 +19,16 @@ class Browser;
class Extension;
class Profile;
class RenderViewHost;
-class TabContents;
namespace base {
class DictionaryValue;
class Value;
}
+namespace content {
+class WebContents;
+}
+
namespace IPC {
class Message;
}
@@ -71,7 +74,7 @@ bool GetBrowserFromJSONArgs(base::DictionaryValue* args,
// and a key 'tab_index' which refers to the index of the tab in that browser.
// Returns true on success and sets |tab|. Otherwise, |error| will be set.
bool GetTabFromJSONArgs(base::DictionaryValue* args,
- TabContents** tab,
+ content::WebContents** tab,
std::string* error) WARN_UNUSED_RESULT;
// Gets the browser and tab specified by the given dictionary |args|. |args|
@@ -81,7 +84,7 @@ bool GetTabFromJSONArgs(base::DictionaryValue* args,
// will be set.
bool GetBrowserAndTabFromJSONArgs(base::DictionaryValue* args,
Browser** browser,
- TabContents** tab,
+ content::WebContents** tab,
std::string* error) WARN_UNUSED_RESULT;
// Gets an automation ID from the given value in the given dicitionary |args|.