Index: chrome/test/automation/tab_proxy.h |
diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h |
index e8dc599a56b1afe71aa9f399bd0844e846d91076..25f738790608d65a8fa112481d95580ed36809d4 100644 |
--- a/chrome/test/automation/tab_proxy.h |
+++ b/chrome/test/automation/tab_proxy.h |
@@ -17,6 +17,7 @@ |
#include "base/compiler_specific.h" |
#include "base/observer_list.h" |
+#include "base/ref_counted.h" |
#include "chrome/browser/download/save_package.h" |
#include "chrome/common/automation_constants.h" |
#include "chrome/common/page_type.h" |
@@ -26,6 +27,7 @@ |
#include "chrome/test/automation/javascript_execution_controller.h" |
#include "webkit/glue/window_open_disposition.h" |
+class BrowserProxy; |
class GURL; |
class Value; |
namespace IPC { |
@@ -62,6 +64,9 @@ class TabProxy : public AutomationResourceProxy, |
AutomationHandleTracker* tracker, |
int handle); |
+ // Gets the browser that holds this tab. |
+ scoped_refptr<BrowserProxy> GetParentBrowser() const; |
+ |
// Gets the current url of the tab. |
bool GetCurrentURL(GURL* url) const WARN_UNUSED_RESULT; |